Skip to main content

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

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token: Bearer <token>

Path Parameters

ParameterTypeRequiredDescription
workspaceIdstringYesWorkspace identifier
variantstringYesLogo 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