Authentication

Adds staff-only permission scopes to a user. Scopes not listed are left untouched, as are all non-staff custom permissions. The caller may only add scopes their own admin scopes authorise: partly_admin authorises every staff-only scope, and each area admin (e.g. partly_qa_admin) authorises its base scope and itself. A user_id with no Partly account returns user_not_found — create the account with users.invite-v3 first.

post/api/v1/users.staff-permissions.insert

Request

  • Base URL: https://api.partly.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.partly.com/api/v1/users.staff-permissions.insert
  • Auth: none declared. Required headers: authorization

Headers

authorizationstring required

UTF-8 encoded string

Request body

user_idstring uuid required

UUID value type

Response

200 OK

emailstring required

UTF-8 encoded string

user_idstring uuid required

UUID value type

Changes

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