Delete Referral (v1)
Method & Path
DELETE /api/v1/workspace/:workspaceId/referrals/:referralId
Actual backend path: /v1/workspace/:workspaceId/referrals/:referralId
Description
Delete a referral from a workspace.
Authentication
Required: Workspace authentication with appropriate permissions.
Headers
| Header | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer token: Bearer <token> |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
workspaceId | string | Yes | Workspace identifier |
referralId | string | Yes | Referral identifier |
Response 204 No Content
The response body is empty.
Common Errors
- 400 Bad Request: Invalid referral identifier
- 401 Unauthorized: Missing or invalid authentication token
- 403 Forbidden: Insufficient permissions
- 404 Not Found: Workspace or referral not found
- 500 Internal Server Error: Server error