DELETE/Users/{userId}

Deactivates a member.

Deactivated members are suspended and cannot log in until they are reactivated.
To set members as retired or delete them, you need to use the Admin Console or the LINE WORKS APIs.

Caution

  • For the same member, the following API operations must be called in the order they are listed: Add a member, Update a member, Update part of a member, and Deactivate a member.

HTTP Request

DELETEhttps://www.worksapis.com/scim/v2/Users/{userId}

Path Parameters

ParameterTypeDescription
userId integer 

Member ID


required 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}

See Get a Long-Lived Token for SCIM.


required 

Response

HTTP 204

No Content

HTTP 404

Not Found