admin

Toggle User Admin

Toggle admin status for a user. Cannot remove admin from self or last admin.

post/api/admin/users/{user_id}/toggle-admin

Request

  • Base URL: https://app.ctlsurf.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.ctlsurf.com/api/admin/users/{user_id}/toggle-admin
  • Auth: HTTP bearer

Path parameters

user_idstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.