# Branding

## Returns branding configuration.

> Returns current branding configuration.

```json
{"openapi":"3.0.0","info":{"title":"Guardian","version":"3.6.0-rc"},"servers":[{"url":"/api/v1","description":"version 1.0"}],"paths":{"/branding":{"get":{"description":"Returns current branding configuration.","operationId":"BrandingApi_getBranding","parameters":[],"responses":{"200":{"description":"Successful operation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandingDTO"}}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorDTO"}}}}},"summary":"Returns branding configuration.","tags":["branding"]}}},"components":{"schemas":{"BrandingDTO":{"type":"object","properties":{"headerColor":{"type":"string"},"primaryColor":{"type":"string"},"companyName":{"type":"string"},"companyLogoUrl":{"type":"string"},"loginBannerUrl":{"type":"string"},"faviconUrl":{"type":"string"},"headerColor1":{"type":"string"},"termsAndConditions":{"type":"string"}},"required":["headerColor","primaryColor","companyName","companyLogoUrl","loginBannerUrl","faviconUrl","headerColor1","termsAndConditions"]},"InternalServerErrorDTO":{"type":"object","properties":{"statusCode":{"type":"number"},"message":{"type":"string"}},"required":["statusCode","message"]}}}}
```

## Update branding.

> Update branding. Only users with the Standard Registry role are allowed to make the request.

```json
{"openapi":"3.0.0","info":{"title":"Guardian","version":"3.6.0-rc"},"servers":[{"url":"/api/v1","description":"version 1.0"}],"security":[{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"BrandingDTO":{"type":"object","properties":{"headerColor":{"type":"string"},"primaryColor":{"type":"string"},"companyName":{"type":"string"},"companyLogoUrl":{"type":"string"},"loginBannerUrl":{"type":"string"},"faviconUrl":{"type":"string"},"headerColor1":{"type":"string"},"termsAndConditions":{"type":"string"}},"required":["headerColor","primaryColor","companyName","companyLogoUrl","loginBannerUrl","faviconUrl","headerColor1","termsAndConditions"]},"UnauthorizedErrorDTO":{"type":"object","properties":{"statusCode":{"type":"number"},"message":{"type":"string"}},"required":["statusCode","message"]},"ForbiddenErrorDTO":{"type":"object","properties":{"statusCode":{"type":"number"},"message":{"type":"string"},"error":{"type":"string"}},"required":["statusCode","message"]},"InternalServerErrorDTO":{"type":"object","properties":{"statusCode":{"type":"number"},"message":{"type":"string"}},"required":["statusCode","message"]}}},"paths":{"/branding":{"post":{"description":"Update branding. Only users with the Standard Registry role are allowed to make the request.","operationId":"BrandingApi_setBranding","parameters":[],"requestBody":{"required":true,"description":"Object that contains config.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandingDTO"}}}},"responses":{"204":{"description":"Branding updated successfully. No response body."},"401":{"description":"Unauthorized request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorDTO"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenErrorDTO"}}}},"500":{"description":"Internal server error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorDTO"}}}}},"summary":"Update branding.","tags":["branding"]}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.guardian.hedera.com/api-reference/branding.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
