Patch role
PATCH /api/v1/organisation/members/{id}/role
Manage the authenticated user’s organization profile, members, invitations, or deletion schedule.
Authenticate with a portal session token.
Parameters
idstring path required
Request body
application/json OrggrcOrganisationMemberRole
rolestring requiredOne of:"owner","admin","developer","security","auditor","billing","support","compliance-officer","service","member". Length: 1 to 64 characters. Example:"member"
Example
{
"role": "member"
}Responses
200 Operation completed successfully.
application/json object
Any keys are accepted.
401 Authentication is required or invalid.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
403 The authenticated user is not permitted to perform this operation.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
404 The requested resource was not found.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
422 The request failed validation.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
429 The request was rate limited.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
text/html string
500 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.