Assign a team member to a project, environment or application.
post/midgard/v0.1/team-members/assign/{assignmentObject}
Allows a Customer Admin to assign existing team members to specific resources.Request
Authorization
X-AT
header
apiKey
Path Parameters
assignmentObjectThe access level.
string
REQUIRED
application
Body
application/json
userIdThe unique ID of the team member to assign.
string
REQUIRED
REQUIRED
integer
oneOf
array integer[]
oneOf
rolesThe roles to assign to the user.
array string[]
REQUIRED
Response
200User assignment successfully.
403Returned when the requester is not authorized.
422User is not a team member, or resource/role validation failed.
Shell cURL
shellShow schema
json