admin

Patch Team Member

Change a member's role and/or per-member permission overrides (services/admin_rbac.py). Guards: a role must be in the catalogue; every permission must be in the catalogue; support.control can never be granted; a super admin cannot demote or restrict themselves (no lock-out); audited with the before/after.

patch/api/admin/team/{target_user_id}

Request

  • Base URL: https://api.activitia.net (the document declares no server; this is the origin it was published from)
  • URL: https://api.activitia.net/api/admin/team/{target_user_id}
  • Auth: none declared

Path parameters

target_user_idstring required

Headers

authorizationstring

Request body

rolestring nullable
grantstring[] nullable
revokestring[] nullable

Response

Successful Response

unknown required

Changes

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