Skip to main content

Create a Role (Deprecated)

Select

SaaS
Customer Managed

deprecated

This endpoint has been deprecated and may be removed in future versions of the API.

This operation creates a role.

More Details

Header Parameters
  • Content-Type string required

    Possible values: [application/xml]

Responses

OK


Schema
  • response object[]
  • errorString string
  • errorCode integer
  • entity object
  • roleName string
  • roleId integer
  • flags object
  • disabled boolean
POST /role    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Content-Type — header required
Body

curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Role' \
-H 'Content-Type: application/xml' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw ''