admin

Grant/revoke platform admin

Grant or revoke a user's is_internal flag. Admin-user only: a service key cannot change staff access (that would let a leaked key mint a permanent human admin). You cannot revoke your own access.

put/v1/admin/staff/{user_id}/internal

Request

  • Base URL: https://api.patricia.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.patricia.app/v1/admin/staff/{user_id}/internal
  • Auth: HTTP bearer

Path parameters

user_idstring uuid required

Request body

is_internalboolean required

Response

Successful Response

idstring uuid required
emailstring required
first_namestring nullable required
last_namestring nullable required
is_internalboolean required
created_atstring date-time required

Changes

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