curl --request POST \
--url https://api.diversion.dev/v0/organizations/{org_id}/invites \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"role": "READ"
}
'"<unknown>"Sends an invitation to the specified user to join the organization with the chosen role.
curl --request POST \
--url https://api.diversion.dev/v0/organizations/{org_id}/invites \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"role": "READ"
}
'"<unknown>"This API uses OAuth 2 with the implicit grant flow
An ID of an organization
Invitation sent successfully.
Resource created