Replace deployment-wide dashboard branding
curl --request PUT \
--url https://harness.example.com/admin/branding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"logo_url": "<string>",
"favicon_url": "<string>"
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({logo_url: '<string>', favicon_url: '<string>'})
};
fetch('https://harness.example.com/admin/branding', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://harness.example.com/admin/branding"
payload = {
"logo_url": "<string>",
"favicon_url": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"logo_url": "<string>",
"favicon_url": "<string>"
}Administration
Replace deployment-wide dashboard branding
PUT
/
admin
/
branding
Replace deployment-wide dashboard branding
curl --request PUT \
--url https://harness.example.com/admin/branding \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"logo_url": "<string>",
"favicon_url": "<string>"
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({logo_url: '<string>', favicon_url: '<string>'})
};
fetch('https://harness.example.com/admin/branding', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://harness.example.com/admin/branding"
payload = {
"logo_url": "<string>",
"favicon_url": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"logo_url": "<string>",
"favicon_url": "<string>"
}Authorizations
OAuth 2.0 access token obtained through RFC 8628 at /api/auth/device/code and /api/auth/oauth2/token. The API enforces governance:read, session:write, and client-status:write as appropriate.
Body
application/json
