Invite a user.
post/midgard/v0.1/users/invite
Invite a user for a customer (or team), project, environment or application.Request
Authorization
X-AT
header
apiKey
Body
application/json
usersThe list of users to invite.
array object[]
REQUIRED
object {}
invitee
object
REQUIRED
object {}
email
string
REQUIRED
rolesList of roles to grant.
array string[]
REQUIRED
projectOptional Project ID for project-level invite.
integer
environmentOptional Environment ID for environment-level invite.
integer
applicationOptional Application ID for application-level invite.
integer
Response
200Invitation(s) processed successfully.
403Returned when the requester is not authorized.
422Validation of invitation input failed.
500Technical failure during invitation processing.
Shell cURL
shellShow schema
json