Update User Security Role
POST/api
Update/replace a security role from a user. The role will be changed by keep access to the same projects.
Request
- application/json
Body
array
required
Array [
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
]
role_id
object
nullable
anyOf
string
user_id
object
nullable
anyOf
string
project_id
object
nullable
anyOf
string
all_open_projects
object
nullable
anyOf
boolean
new_role_id
object
nullable
anyOf
string
action Actionrequired
Possible values: [update_user_security_role
]
metadata
object
property name* any
Responses
- 200
- 422
Successful Response
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Messagerequired
type Error Typerequired
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...