PATCH /rebranding/{org_id}/enable

Owner-only. Enables rebranding capability for a specific organization.

Path parameters

  • org_id string Required

    Logto organization ID (logto_id, not the database UUID)

Responses

  • 200

    Rebranding enabled

  • 400 application/json

    Bad request - validation error

    Hide response attributes Show response attributes object
    • code integer

      HTTP error code

    • message string

      Error message

    • data object
      Hide data attributes Show data attributes object
      • type string

        Type of error

        Values are validation_error or external_api_error.

      • errors array[object]
        Hide errors attributes Show errors attributes object
        • key string

          Field name that failed validation

        • message string

          Error code or message

        • value string

          Value that failed validation

      • details

        Additional error details

  • 403 application/json

    Forbidden - insufficient permissions

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data object | null
PATCH /rebranding/{org_id}/enable
curl \
 --request PATCH 'https://collect.your-domain.com/api/rebranding/{org_id}/enable' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (400)
{
  "code": 400,
  "message": "validation failed",
  "data": {
    "type": "validation_error",
    "errors": [
      {
        "key": "username",
        "message": "required",
        "value": "string"
      }
    ]
  }
}
Response examples (403)
{
  "code": 403,
  "message": "insufficient permissions",
  "data": {}
}