Delete a User

Delete a particular user
You can delete a particular user in two ways.
First way, delete a user by userId (User identifier in channel talk server).
Second, delete a user by memberId (User memberId that you used in javascript-quickstart.)

Delete a particular user by userId

Parameter

Acccessible via URL https://api.channel.io/open/v5/users/{userId} and HTTP DELETE

ParameterExampleRequiredDescriptionParameter type
userId5ec3a01fe2b3f4d2cbc5RequiredID of UserPath

Example

DELETE https://api.channel.io/open/v5/users/5ec3a01fe2b3f4d2cbc5

Response

Return HTTP status code 204 if succeed.


Delete a particular user by memberId

Parameter

Acccessible via URL https://api.channel.io/open/v5/users/@{memberId} and HTTP DELETE

ParameterExampleRequiredDescriptionParameter type
memberId12345RequiredmemberId of UserPath

Example

DELETE https://api.channel.io/open/v5/users/@12345

Response

Return HTTP status code 204 if succeed.