PUT/v2/users/{user-Id}/invitationUpdate user invitation

Update a specific user invitation based on Id
headerAuthorizationAuthentication token (bearer token or API key).
{
"language" : Language code (ISO 639-1, e.g. "ar", "de", "en", "es", "fr", "it", "nl", "pl", "cs"),
"expiration" : Date/time with a timezone (ISO 8601, e.g. "2022-06-23T13:53:02+02:00"),
"emailAddress" : String,
"sendEmail" : Boolean,
"phoneNumber" : Phone number (E.164, e.g. "+31850607337"),
"sendSms" : Boolean
}

Response

status200All ok, returned ID of updated user
status400Invalid roles
status401Invalid authentication token
status403Insufficient rights
status404User not found
{
"id" : Number
}

Example: Update a user invitation for specified Id

PUT/v2/users/5/invitation

headerAuthorizationBearer 0afdf1dc-06f5-465b-a094-aa4196f6e7df
{
"sendEmail": true
}

Response

status200
headerAccess-Control-Expose-Headersauthorization, content-type
headerAccess-Control-Allow-Headersauthorization, content-type
headerAccess-Control-Allow-MethodsGET, POST, DELETE, OPTIONS, PUT
headerAccess-Control-Allow-Origin*
headerStrict-Transport-Securitymax-age=31536000; includeSubDomains
headerX-Frame-OptionsSAMEORIGIN
headerX-Content-Type-Optionsnosniff
headerX-XSS-Protection1; mode=block
headerContent-Security-Policydefault-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
headerReferrer-Policyno-referrer
headerFeature-Policyself
headerPermissions-policyinterest-cohort=()
{
"id": 5
}

Example: Update a user invitation for a personal organization

PUT/v2/users/2/invitation

headerAuthorizationBearer 9b0833c5-22f3-495f-9181-0740e31f7369
{
"sendEmail": false
}

Response

status200
headerAccess-Control-Expose-Headersauthorization, content-type
headerAccess-Control-Allow-Headersauthorization, content-type
headerAccess-Control-Allow-MethodsGET, POST, DELETE, OPTIONS, PUT
headerAccess-Control-Allow-Origin*
headerStrict-Transport-Securitymax-age=31536000; includeSubDomains
headerX-Frame-OptionsSAMEORIGIN
headerX-Content-Type-Optionsnosniff
headerX-XSS-Protection1; mode=block
headerContent-Security-Policydefault-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
headerReferrer-Policyno-referrer
headerFeature-Policyself
headerPermissions-policyinterest-cohort=()
{
"id": 2
}