Remove members from teamspace
DELETE/api/v1/workspaces/{workspace_slug}/teamspaces/{teamspace_id}/members/
Remove users from a teamspace. Send the user IDs in a JSON body. An empty or missing body removes nobody and still returns 204.
Requires the teamspace lead, or a workspace Owner or Admin.
Path Parameters
workspace_slug:requiredstringThe workspace_slug represents the unique workspace identifier for a workspace in Plane. It can be found in the URL. For example, in the URL https://app.plane.so/my-team/projects/, the workspace slug is my-team.
teamspace_id:requiredstringThe unique identifier of the teamspace.
Body Parameters
member_ids:requiredarrayIDs of the users to remove.
Scopes
write, or both teamspaces:write and teamspaces.members:write. The teamspaces.members:write scope alone is not enough.
Remove members from teamspace
bash
curl -X DELETE \
"https://api.plane.so/api/v1/workspaces/my-workspace/teamspaces/teamspace-uuid/members/" \
-H "X-API-Key: $PLANE_API_KEY" \
# Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"member_ids": [
"16c61a3a-512a-48ac-b0be-b6b46fe6f430"
]
}'python
import requests
response = requests.delete(
"https://api.plane.so/api/v1/workspaces/my-workspace/teamspaces/teamspace-uuid/members/",
headers={"X-API-Key": "your-api-key"},
json={
"member_ids": [
"16c61a3a-512a-48ac-b0be-b6b46fe6f430"
]
}
)
print(response.status_code)javascript
const response = await fetch(
"https://api.plane.so/api/v1/workspaces/my-workspace/teamspaces/teamspace-uuid/members/",
{
method: "DELETE",
headers: {
"X-API-Key": "your-api-key",
"Content-Type": "application/json",
},
body: JSON.stringify({
member_ids: ["16c61a3a-512a-48ac-b0be-b6b46fe6f430"],
}),
},
);
console.log(response.status);Response204
No response body.

