Accelerate the Value of Data

Add Customer Specific Roles

Roles Management API, Add customer specific roles.

Table 1. Endpoint Details
Request Type POST
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 
POST {{url}}/oauth/customers/cust01/roles -d'[
"CUST01_DS", "CUST01_PM"]'

Response

[
  "CUST01_DS",
  "CUST01_PM" 
]