v5

latestOpenAPI 3.0.02026-08-04258282491.7 KB
Invitation

Update an invitation's role

Change the role an invitation will grant when accepted. Invitations are always created with the user role, so this is the way to grant a different role before acceptance. Requires invitation permissions on the project given in the project header.

put/invitations/{invitationId}/role

Path parameters

invitationIdstring required

Headers

projectstring required

Request body

rolestring required

Response

Ok

updatedAtstring required
createdAtstring required
emailstring
rolestring required
namestring required
type'organisation' | 'project' required