Add resource roles for team
POSThttps://api.spectrocloud.com/v1/teams/:uid/resourceRoles
Resource roles added to specific team
Request
Path Parameters
uid stringrequired
- application/json
Body
required
filterRefsstring[]
projectUidsstring[]
rolesstring[]
Responses
- 204
The resource was updated successfully
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X POST 'https://api.spectrocloud.com/v1/teams/:uid/resourceRoles' \
-H 'Content-Type: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
--data-raw '{
"filterRefs": [
"string"
],
"projectUids": [
"string"
],
"roles": [
"string"
]
}'