> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cocoondata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# <access-service>/api/v1/config/theme/headerPrimaryColor

## URL structure&#x20;

```text theme={null}
https://access-service.xy-company.com/api/v1/config/theme/headerPrimaryColor
```

## Supported methods and overview&#x20;

* `PUT` - used to set a new color for the background color used for the header of the Safe Share web application, Covata Administration and Covata Notification email messages.
* `DELETE` - see [\<access-service>/api/v1/config/theme/...](/2.16/api/access-service-api-v1-config-theme-reset.md) for more information.

## Detailed description&#x20;

This API endpoint sets a new color for the background color used for the header of the Safe Share web application, Covata Administration and Covata Notification email messages.

To reset this color back to its default value, see [\<access-service>/api/v1/config/theme/...](/2.16/api/access-service-api-v1-config-theme-reset.md) for more information.

## Supported roles&#x20;

This API endpoint supports the following Covata user [roles](/2.16/admin/administering-users.md#a-users-roles) (as described in the [Covata Platform Administrator's Guide](/2.16/admin.md)):

* [System administrator](/2.16/admin/administering-users.md#system-administrator-role)

The Covata Platform's resources available to one of these Covata users (above) is determined by the access token passed in the [header](/2.16/api/access-service-api-v1-config-theme-headerprimarycolor.md#access-service-api-v1-config-theme-headerprimarycolor-required-headers) of requests to this endpoint.

## Required headers&#x20;

The appropriate access token as the `Bearer` token:

* `Authorization: Bearer a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6`

## Required body&#x20;

Specify as plain text in the body of the request, the new color (as a 6-digit hex value) for the header of the Safe Share web application, Covata Administration and Covata Notification email messages.

## Returns&#x20;

If the request succeeded, then an HTTP response status `200 OK` is returned.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.