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