Remove Team Member
Efficiently remove a team member from your organization using the DoubleTick API to maintain an updated and structured team hierarchy. π
API Endpoint
Use the following endpoint to remove a team member:
DELETE https://public.doubletick.io/team-member
Request Headers
{
"Authorization": "YOUR_API_KEY",
"Content-Type": "application/json"
}
Request Body Parameters
{
"memberPhoneNumber": "agent_number"
}
Parameters
memberPhoneNumber
(string, required): The phone number of the team member in international format to be removed.
Response
Success Response (201)
{
"success": true
}
Bad Request (400)
{
"message": "error_message",
"error": "Bad Request",
"statusCode": 400
}
Unauthorized (401)
{
"message": "Invalid public api key",
"error": "Unauthorized",
"statusCode": 401
}
Unprocessable Entity (422)
{
"message": "invalid file type for audio: text/html; charset=utf-8",
"error": "Unprocessable Entity",
"statusCode": 422
}
Best Practices
- Double-check the phone number before making the request to avoid errors.
- Use this endpoint when a team member leaves or their role is no longer required.
- Maintain an updated team list for better team management.
Updated 14 days ago
Whatβs Next
Explore more message types and enhance your WhatsApp communication with DoubleTick API