Unify and manage your data

Update/Override Customer Specific Roles

Roles Management API, Update or Override the customer specific roles to the list of roles sent in the body.

Table 1. Endpoint Details
Request Type PUT
URL /oauth/customers/{customerId}/roles
Parameters N/A
Access ROLE_ADMIN_CUSTOMER

Request

curl -k -H "Accept: application/json" -H 
"Authorization: Bearer 5925f793-c092-43ec-b3a3-65ce8e194448" -X 
PUT {{url}}/oauth/customers/cust01/roles -d'[
"CUST01_DS", "CUST01_PM"]'

Response

[
  "CUST01_DS",
  "CUST01_PM" 
]