curl --request POST \
--url https://api.example.com/v1/invites \
--header 'Content-Type: application/json' \
--data '
{
"email": "john@doe.com",
"name": "John Doe",
"role": "Admin",
"policy": "Admin"
}
'{
"tokenId": "123",
"email": "john@doe.com",
"name": "John Doe",
"code": "code-123",
"permissionId": "permissionId-123",
"org": "orgId"
}Invite user
curl --request POST \
--url https://api.example.com/v1/invites \
--header 'Content-Type: application/json' \
--data '
{
"email": "john@doe.com",
"name": "John Doe",
"role": "Admin",
"policy": "Admin"
}
'{
"tokenId": "123",
"email": "john@doe.com",
"name": "John Doe",
"code": "code-123",
"permissionId": "permissionId-123",
"org": "orgId"
}Was this page helpful?