Update existing users on an environment.
post/midgard/v0.1/environment/users/update/{environmentId}
Updates roles for multiple users specifically within the context of an environment.Request
Authorization
X-AT
header
apiKey
Path Parameters
environmentIdThe unique ID of the environment.
integer
REQUIRED
Body
application/json
usersArray of objects containing user IDs and their new roles for this environment.
array object[]
REQUIRED
object {}
idThe unique User ID.
string
REQUIRED
rolesList of roles to assign at the environment level.
array string[]
REQUIRED
Response
200Returned when the user updates are successful.
403Access denied.
422Validation or rights verification failed.
Shell cURL
shellShow schema
json