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 Code | Error Code | Description |
|---|---|---|
| 401 | HTTP_401 | Unauthorized |
| 404 | HTTP_404 | Not Found |
| 500 | HTTP_500 | Internal Server Error |
| 401 | HTTP_401 | Unauthorized |
| 403 | HTTP_403 | Forbidden |
| 429 | HTTP_429 | Error |
| 422 | HTTP_422 | Error |
| 500 | HTTP_500 | Internal Server Error |
| 500 | HTTP_500 | Internal Server Error |
Example Request
curl -X PATCH "https://api.allurelms.com/tenant/branding" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'