Invitations (iam/v2)
Create an Invitation
Make a request to create an invitation.
The newly invited user will not have any permissions. Give the user permission by assigning them to one or more roles by creating role bindings for the created user.
post/iam/v2/invitations
Request
- Base URLhttps://api.confluent.cloud
- URLhttps://api.confluent.cloud/iam/v2/invitations
- Auth
- HTTP basic
- or OAuth 2Client credentialsToken URL: https://api.confluent.cloud/sts/v1/oauth2/token
Request body
Example request
{
"id": "dlz-f3a90de",
"metadata": {
"self": "https://api.confluent.cloud/iam/v2/invitations/i-12345",
"resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/invitation=i-12345",
"created_at": "2006-01-02T15:04:05-07:00",
"updated_at": "2006-01-02T15:04:05-07:00",
"deleted_at": "2006-01-02T15:04:05-07:00"
},
"email": "johndoe@confluent.io",
"auth_type": "AUTH_TYPE_SSO",
"status": "INVITE_STATUS_SENT",
"accepted_at": "2022-07-06T17:21:33Z",
"expires_at": "2022-07-07T17:22:39Z"
}Response
An Invitation was created.
Example response
{
"id": "dlz-f3a90de",
"metadata": {
"self": "https://api.confluent.cloud/iam/v2/invitations/i-12345",
"resource_name": "crn://confluent.cloud/organization=9bb441c4-edef-46ac-8a41-c49e44a3fd9a/invitation=i-12345",
"created_at": "2006-01-02T15:04:05-07:00",
"updated_at": "2006-01-02T15:04:05-07:00",
"deleted_at": "2006-01-02T15:04:05-07:00"
},
"email": "johndoe@confluent.io",
"auth_type": "AUTH_TYPE_SSO",
"status": "INVITE_STATUS_SENT",
"accepted_at": "2022-07-06T17:21:33Z",
"expires_at": "2022-07-07T17:22:39Z"
}Changes
No recorded changes to this operation across all 7 revisions of this API.