Skip to content

reporting module route (requires reporting:report:write)

PUT
/v1/m/reporting/branding
curl --request PUT \
--url https://example.com/v1/m/reporting/branding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "company_name": "example", "footer_text": "example", "logo_path": "example", "primary_color": "example", "secondary_color": "example" }'

Replaces the tenant report branding, and answers 501 when no branding store is wired.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
object
company_name
Any of:
string
footer_text
Any of:
string
logo_path
Any of:
string
primary_color
Any of:
string
secondary_color
Any of:
string
key
additional properties
any
Example generated
{
"company_name": "example",
"footer_text": "example",
"logo_path": "example",
"primary_color": "example",
"secondary_color": "example"
}

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}