Update pending invitee
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Sets custom User fields on someone who hasn't joined the app yet. When they join, the values are copied onto their user record.
The fields you send are merged into the stored ones, and a field you leave out keeps its value. Built-in fields such as email, full_name, role and id are ignored. Field-level security rules on the User entity apply, and a value over 20,000 characters is refused. Once the person has joined, change them with Update app user instead, because this endpoint returns a 404 for them.
<Note>This endpoint accepts a personal API key belonging to a user with editor access to the app. A read-only key is refused, and workspace API keys are not accepted.</Note>
Path parameters
ID of the access request, as id in the response of List access requests.
ID of the access request, as id in the response of List access requests.
ID of the app.
ID of the app.
Request body
Example request
{
"data": {
"department": "sales",
"team": "EMEA"
}
}Response
The invitation's custom fields after the update.
Example response
{
"success": true,
"data": {
"department": "sales",
"team": "EMEA"
}
}Changes
Changed in 1 of the 14 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○