PUT/desk/api/v2/users/{id}/archive.json
Change the user's state to archived.
The user will not be able to log in but his past actions will still be visible in Desk.
Request Examples
Example Request
PUT
/desk/api/v2/users/{id}/archive.jsoncurl --request GET \ --url https://{site_name}.teamwork.com/tags.json
Responses
- Code
- 204
- Description
- 204 No Content No Data
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.
400 Bad Request
Validator
{
"Errors": {}
}