POST
/
organization
/
{organizationId}
/
invite
Invite user to organization
curl --request POST \
  --url https://app-preprod.cybedefend.com/organization/{organizationId}/invite \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com",
  "role": "administrator"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "token": "<string>",
  "email": "<string>",
  "status": "<string>",
  "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organizationName": "<string>",
  "organizationRole": "<string>",
  "expiresAt": "2023-11-07T05:31:56Z"
}

Path Parameters

organizationId
string<uuid>
required

Organization identifier

Body

application/json
email
string<email>
required

Email of the person invited

role
enum<string>
required

Role to assign

Available options:
administrator,
manager,
billing_manager,
member

Response

User invited to organization

id
string<uuid>
required

Invitation unique identifier

token
string
required

Invitation token

email
string
required

Email of the invitee

status
string
required

Current status of the invitation

organizationId
string<uuid>
required

Organization unique identifier

organizationName
string
required

Organization name

organizationRole
string
required

Role in the organization

expiresAt
string<date-time>
required

Invitation expiration date