API Reference
REST API endpoints
cURL
curl --request POST \ --url http://localhost:8080/api/admins/demote \ --header 'Authorization: Bearer <token>'
{ "ok": true }
Removes all admin rights from a user.
API key with bmx_ prefix. Obtain via /api/auth/api-keys.
bmx_
/api/auth/api-keys
Admin demoted
true
Was this page helpful?