Updates the roles for user
PUThttps://api.spectrocloud.com/v1/users/:uid/roles
User is updated with roles
Request
Path Parameters
uid stringrequired
- application/json
Body
required
rolesstring[]
Responses
- 204
The resource was updated successfully
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X PUT 'https://api.spectrocloud.com/v1/users/:uid/roles' \
-H 'Content-Type: application/json' \
--data-raw '{
"roles": [
"string"
]
}'