Skip to main content
DELETE
/
workspaces
/
{workspaceId}
/
roles
/
{roleId}
Delete workspace role
curl --request DELETE \
  --url https://app.freyavoice.ai/api/v2/workspaces/{workspaceId}/roles/{roleId} \
  --header 'Authorization: Bearer <token>'
{
  "success": false,
  "data": {
    "message": "<string>",
    "result": "<unknown>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string<uuid>
required
roleId
string
required
Minimum string length: 1

Response

Role deleted