Easy Labs
ReferenceAPI ReferenceAccount & operationsBranding

Reset branding to Easy defaults

Clears all custom branding for the company (sets companies.branding = NULL). The GET endpoint will return EASY_DEFAULTS after this call. A full-clear entry is written to the audit log.

POST
/v1/auth/branding/reset-to-defaults

Authorization

bearerAuth
AuthorizationBearer <token>

Supabase JWT bearer token for dashboard / user-scoped endpoints. Role-derived scopes: ROOT/ADMIN → full admin; USER → read-only treasury.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://loading/v1/auth/branding/reset-to-defaults"
{
  "success": true,
  "timestamp": "2019-08-24T14:15:22Z",
  "data": null,
  "message": "string"
}
{
  "success": false,
  "timestamp": "2019-08-24T14:15:22Z",
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}
{
  "success": false,
  "timestamp": "2019-08-24T14:15:22Z",
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}
{
  "success": false,
  "timestamp": "2019-08-24T14:15:22Z",
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}