Invitation

Update an invitation's role

Changed on

Change the role an invitation will grant when accepted. Invitations are created with the user role, or AGENT when the inviter's role could not grant user, 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

Request

  • Base URL
    https://api.gleap.io/v3
  • URL
    https://api.gleap.io/v3/invitations/{invitationId}/role
  • Auth
    HTTP bearer

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
_idstring required

Changes

    • info

      added subschema #1 subschema #2 subschema #4 to the response body allOf list for the response status

    • info

      removed from the response body allOf list for the response status