Delete Staff Avatar (v1)
Method + Path
DELETE /v1/workspace/:workspaceId/staff/:staffId/avatar
Actual backend path: /v1/workspace/:workspaceId/staff/:staffId/avatar
Description
Remove the avatar image for a staff member.
Authentication
Required - JWT token in Authorization header
Required Permissions:
staff.update
Headers
| Header | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer token: Bearer <token> |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
workspaceId | string | Yes | Workspace identifier |
staffId | string | Yes | Staff member identifier |
Response (204)
No content - successful deletion.
Common Errors
- 401 Unauthorized: Missing or invalid authentication token
- 403 Forbidden: Insufficient permissions (requires
staff.update) - 404 Not Found: Staff member or workspace not found
- 500 Internal Server Error: Server error