asclepius-admin

Set User Role

Grant or revoke the admin role on one account.

This is how the second founder becomes an admin without touching env vars: the env-bootstrapped admin promotes their existing account once from the roster. Two roles only; every other role is provisioned by its own flow and must not be reachable from a console button. Self-demotion is refused so the console cannot lock its last operator out.

post/api/asclepius/admin/users/{user_id}/role

Request

  • Base URL
    https://app.archangelhealth.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://app.archangelhealth.ai/api/asclepius/admin/users/{user_id}/role
  • Auth
    none declared

Path parameters

user_idstring required

Headers

authorizationstring nullable

Request body

rolestring required

Response

Successful Response

unknown required

Changes

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