Skip to main content

Add resource roles for user

POST 

https://api.spectrocloud.com/v1/users/:uid/resourceRoles

Authorization: ApiKey

name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header

Resource roles added to specific user

Request

Path Parameters

    uid stringrequired

Body

required
    filterRefsstring[]
    projectUidsstring[]
    rolesstring[]

Responses

The resource was updated successfully

curl -L -X POST 'https://api.spectrocloud.com/v1/users/:uid/resourceRoles' \
-H 'Content-Type: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
--data-raw '{
"filterRefs": [
"string"
],
"projectUids": [
"string"
],
"roles": [
"string"
]
}'
Request Collapse all
Base URL
https://api.spectrocloud.com
Auth
Parameters
— pathrequired
Body required
{
"filterRefs": [
"string"
],
"projectUids": [
"string"
],
"roles": [
"string"
]
}