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 plugin integration.

Delete a particular user by userId

Parameter

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

Parameter

Example

Required

Description

Parameter type

userId

5ec3a01fe2b3f4d2cbc5

Required

ID of User

Path

Example

DELETE https://api.channel.io/open/v4/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/v4/users/@{memberId} and HTTP DELETE

Parameter

Example

Required

Description

Parameter type

memberId

12345

Required

memberId of User

Path

Example

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

Response

Return HTTP status code 204 if succeed.