Roles

Update role

Assigns roles to the membership.

A 422 Unprocessable Entity is served if either:

  • one role url provided in the body is not in the Organisations "available-roles"
  • the request attempts to remove the last admin role of the organization, thus making the organisation unusable.
put/v0/memberships/{membership-id}/roles

Path parameters

membership-idstring required

Request body

Response

OK