deleteteammember

description

Removes a team member from a Buzzy Team

parameters

The X-Auth-Token and X-User-Id are derived from the values authToken and userId returned from the login endpoint and are used in the HTTP header.

{
        "teamID": "<team ID>",
        "userID": "<user ID of the team member to remove>"
}

response

Returns the status of the deletion operation.

example

POST /api/deleteteammember 
X-Auth-Token:<insert token here>
X-User-Id:<insert user id here>

{
        "teamID": "<team ID>",
        "userID": "<user ID of the team member to remove>"
}

You should get back:

{
    "status": "success"
}

Last updated