PATCH /tenant/branding

PATCH /tenant/branding

GET /api/tenant/branding Verify authentication with Clerk Get user's tenant Profile doesn't exist yet - return default branding The profile will be created by /api/users/me on next request Fetch tenant branding PATCH /api/tenant/branding Verify authentication and admin role with Clerk Branding is account-level admin only (super_admin) Apply rate limiting for API mutations Parse and validate body Update tenant branding Add rate limit headers

Endpoint

PATCH /tenant/branding

Authentication

This endpoint requires authentication. Include your authentication token in the request headers.

Error Responses

Status CodeError CodeDescription
401HTTP_401Unauthorized
404HTTP_404Not Found
500HTTP_500Internal Server Error
401HTTP_401Unauthorized
403HTTP_403Forbidden
429HTTP_429Error
422HTTP_422Error
500HTTP_500Internal Server Error
500HTTP_500Internal Server Error

Example Request

curl -X PATCH "https://api.allurelms.com/tenant/branding" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'