organizations

Change a member's role (admin+; owner required to touch owners).

patch/organizations/{id}/members/{userId}

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/organizations/{id}/members/{userId}
  • Auth: HTTP bearer

Path parameters

idstring required
userIdstring required

Request body

$schemastring uri

A URL to the JSON Schema for this object.

role'owner' | 'admin' | 'member' required

Example request

{
  "$schema": "/api/v1/schemas/UpdateMemberInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

account_idstring required
created_atstring date-time required
display_namestring required
emailstring required
is_activeboolean required
last_login_atstring date-time
pendingboolean required

Invited but hasn't accepted (no password set yet).

rolestring required
user_idstring required

Example response

{
  "$schema": "/api/v1/schemas/MemberJSONView.json"
}

Changes

No recorded changes to this operation across all 13 revisions of this API.