Delete a sub-user
delete
https://api.chat-data.com/ api/ v2/ sub- users/ {subUserId}/ sub-users/ {subUserId}Workspace keyWorkspace key onlyDeletesPermanent delete
Delete a sub-user from the company. This also revokes any outstanding magic link or password setup tokens for the sub-user.
Requires the SSO Login add-on (see plans) and a workspace API key; without the add-on, or with a chatbot-scoped key, the request gets a 403.
Path parameters
Required
subUserIdstring