Member delete
Team Member Delete
[BETA]
delete members (either via user_email or user_id) from a team
If user doesn't exist, an exception will be raised
curl -X POST 'http://0.0.0.0:8000/team/member_delete'
-H 'Authorization: Bearer sk-1234'
-H 'Content-Type: application/json'
-d '{
"team_id": "45e3e396-ee08-4a61-a88e-16b3ce7e0849",
"user_id": "krrish247652@berri.ai"
}'
POST/team/member_delete
Authorization
Body
user_idUser Id
user_emailUser Email
team_id*Team Id
Response
Successful Response
Body
any
Request
Response