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.

Path Params

  • Name
    id
    Type
    integer
    required
    Description

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.

Examples

400 Bad Request

Validator
{
  "Errors": {}
}