API for updating an existing colleague (potential invitee) entry.
/v1/colleagues-update
https://api.wazper.com/v1/colleagues-update
PATCH
Header | Type | Required | Description |
---|---|---|---|
X-API-Key | String | Yes | Your Wazper API Key. |
Content-Type | String | Yes | Must be application/json . |
Accept | String | No | Recommended application/json . |
Field | Type | Required | Description |
---|---|---|---|
id | String | Yes | The unique ID of the colleague entry to update. |
status | String | No | New status for the colleague (e.g., “invited”, “deleted”, “joined”). Required if email is not provided. |
email | String | No | New email address for the colleague. Must be a valid email format. Required if status is not provided. |
latestAction
timestamp is automatically updated when any field is modified.Colleague updated successfully.
The response is of type object
.