HostingTeam members
Delete team member
DELETE
/api/team_members/{team_member_code}Deletes a team member.
Authorization
api_key X-Api-Token<token>
API token used to authenticate requests.
In: header
Path Parameters
team_member_code*string
Team member code: T followed by 9 digits. Example: T123456789.
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/team_members/string" \ -H "X-Api-Token: YOUR_API_TOKEN" \ -H "Accept: application/json"Empty
{
"message": "Unauthorized",
"errors": []
}{
"message": "Forbidden",
"errors": []
}{
"message": "Not found",
"errors": []
}{
"message": "Validation failed",
"errors": [
{
"field": "name",
"description": "is not valid"
}
]
}