Deactivates the specified account if it is active, and activates it otherwise.
Security
SessionKey(Required scopes: administrator)
- Mock serverhttps://docs.ticketingevents.com/_mock/openapi/accounts/{number}/toggles
- QA Serverhttps://qa.ticketingevents.com/v3/accounts/{number}/toggles
- Production Serverhttps://api.ticketingevents.com/v3/accounts/{number}/toggles
curl -i -X POST \
'https://docs.ticketingevents.com/_mock/openapi/accounts/{number}/toggles' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"reason": "Account suspected of fraud."
}'Response
{ "message": "The account was deactivated successfully." }