Updates the status of the delegate invitation sent by a specified user. The Update Invitation API allows the logged-in user to accept or reject the delegate invitation sent by the user {id}.
Scope | users Deprecated scope name: update_citizenaccess_citizens_invitation |
App Type | Citizen |
Authorization Type | Access token |
URI | /v4/citizenaccess/citizens/invitation/{id}?lang={lang} |
HTTP Method | PUT |
Automation Version(s) | 7.3.3.5 |
Field or Parameter | Type | Required | Values | Description | Automation Version |
---|---|---|---|---|---|
id | string | Yes | � | The unique identifier for the object, assigned by the Civic Platform server and provided in a response. | 7.3.3.5 |
lang | String | No | � | Indicates the language applied. | 7.3.3.5 |
delegateStatus | string | No | ACCEPT | REJECT | The status of the delegate request. | 7.3.3.5 |
In the example, the logged-in user accepts the delegate invitation sent by the user whose id = 8774 (apiextuser1@accela.com) as shown in the Get All Invitations example. Note that in the Create Delegates example, the logged-in user whose id = 8774 (apiextuser1@accela.com) sent the delegate invitation to id=8775 (apiextuser2@accela.com).
Field | Type | Description | Automation Version |
---|---|---|---|
result | result{} | � | 7.3.3.5 |
result.delegateStatus | string | The status of the delegate request. | 7.3.3.5 |
result.id | long | The id of the user who sent the delegate request. | 7.3.3.5 |
status | integer | The record status. | 7.3.3.5 |