Roles
Update role
Changed onAssigns 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
Request
- Base URLhttps://api.griffin.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
membership-idstring required
Request body
Response
OK
Changes
- info
api operation id
put-memberships-membership-id-roleswas added
- info