Delete

This endpoint will delete a given team member from a bot team.

Request

The following request will remove a team member from a bot team. Deletion happen immediately but if the team member is currently online on the bot some privileges may last until next login/logoff cycle.

curl --location --request DELETE 'https://<SERVICE ENDPOINT>/teams/<EMAIL>' \
--header 'Authorization: Bearer <BOT_AUTH_TOKEN>' \
--header 'Content-Type: application/json'

Response

If successful, the response will simply have a standard 200 OK code.

Response Codes

This endpoint will reply with the following standard HTTP codes.

Code

Meaning

200

Ok. The request has been successfully fulfilled.

400

Bad Request. The supplied token is invalid or does not have enough permissions.

404

Not Found. The account or the chatbot could not be found.

Deleted team members are kept as potential users for the My Users section. Deleting a user that was already deleted will still return a 200 OK.

Last updated