Skip to main content
PUT
/
invitations
/
{invitationId}
/
role
Update an invitation for a project
curl --request PUT \
  --url https://api.gleap.io/v3/invitations/{invitationId}/role \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'project: <project>' \
  --data '{
  "role": "<string>"
}'
{
  "updatedAt": "<string>",
  "createdAt": "<string>",
  "project": {
    "isValid": {},
    "createFromHexString": {},
    "createFromTime": {},
    "generate": {},
    "cacheHexString": "<any>",
    "prototype": "<string>"
  },
  "email": "<string>",
  "organisation": {
    "isValid": {},
    "createFromHexString": {},
    "createFromTime": {},
    "generate": {},
    "cacheHexString": "<any>",
    "prototype": "<string>"
  },
  "role": "<string>",
  "name": "<string>",
  "type": "organisation"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Path Parameters

invitationId
string
required

Body

application/json
role
string
required

Response

200 - application/json

Ok

updatedAt
string
required
createdAt
string
required
role
string
required
name
string
required
type
enum<string>
required
Available options:
organisation,
project
project
object
email
string
organisation
object