Remove a user
This endpoint lets a retailer, supplier, or admin remove a user from the team. You must have the necessary permissions to perform this action.
description: "This endpoint lets a retailer, supplier, or admin remove a user from the team. You must have the necessary permissions to perform this action."
Remove a user
This endpoint lets a retailer, supplier, or admin remove a user from the team. You must have the necessary permissions to perform this action.
For accessing the API a valid JWT jwt must be passed in all queries in the 'Authorization' header. The following syntax must be used in the 'Authorization' header. (Bearer xxx.yyy.zzz)
A unique identifier for the team linked to the user.
The unique identifier of the user.
The user is successfully removed from the team.
Confirmation message indicating the user has been successfully removed from the team.
User successfully removed from the team.There was a problem with input.
Access denied due to insufficient permissions.
Login failed or token not valid.
Team for specified id does not exist.
An unexpected error response.
DELETE /v2/team/remove-user?teamId=text&userId=text HTTP/1.1
Host: auth.<env>.citrusad.com
Authorization: YOUR_API_KEY
Accept: */*
{
"removeUserResponseMessage": "User successfully removed from the team."
}
