Users
# Assign Role
Assign Role; User ID, Role ID
put/v1/users/{userId}/role
Request
- Base URLhttps://api.picussecurity.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdinteger required
User ID whose role will be updated
Request body
Example request
{
"role_id": 2
}Response
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 6 revisions of this API.