curl --request DELETE \
--url https://app.freyavoice.ai/api/v2/workspaces/members \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"message": "<string>",
"result": {
"success": true,
"userId": "<string>"
}
}
}Removes a member from the workspace. Admins can remove other members; members can remove themselves.
curl --request DELETE \
--url https://app.freyavoice.ai/api/v2/workspaces/members \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"message": "<string>",
"result": {
"success": true,
"userId": "<string>"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Workspace ID
User ID to remove