Create Organization Branding Using POST
Create a new branding in organization.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Owner | ✔️ | ✔️ |
Organization ID
{
"organizationHeaderBranding": {
"logoLight": "string",
"name": "string",
"logoDark": "string",
"backgroundColorLight": "string",
"backgroundColorDark": "string",
"textColorLight": "string",
"organizationId": "string",
"sameLogoAsLight": false,
"serviceHeaderDisplayName": "string",
"textColorDark": "string"
}
}
Organization Header Branding
OK
"OrganizationBrandingDto Object"
Organization Header Branding
Invalid request body
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The user is not authorized to use the API
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The user is forbidden to use the API
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
Organization not found
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The request could not be processed due to a conflict
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The user has sent too many requests
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
An unexpected error has occurred while processing the request
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/csp/gateway/branding/api/orgs/{orgId}