Delete Workspace Logo (v1)
Method + Path
DELETE /v1/workspace/:workspaceId/branding/logos/:variant
Actual backend path: /v1/workspace/:workspaceId/branding/logos/:variant
Description
Remove a logo image from the workspace.
Authentication
Required - JWT token in Authorization header
Required Permissions:
workspace.update
Headers
| Header | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer token: Bearer <token> |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
workspaceId | string | Yes | Workspace identifier |
variant | string | Yes | Logo variant. Valid values: primary, secondary |
Response (200)
{
"workspace": {
"id": "507f1f77bcf86cd799439011",
"logos": {
"primary": null
},
"updatedAt": "2024-01-15T11:00:00Z"
}
}
Common Errors
- 400 Bad Request: Invalid variant
- 401 Unauthorized: Missing or invalid authentication token
- 403 Forbidden: Insufficient permissions (requires
workspace.update) - 404 Not Found: Workspace not found
- 500 Internal Server Error: Server error