curl --request POST \
--url https://{controlPlaneURL}/api/svc/v1/users/invite \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"acceptInviteClientUrl": "<control plane url>/invite-accept",
"email": "<string>"
}'
{}
Invite a user to the tenant
curl --request POST \
--url https://{controlPlaneURL}/api/svc/v1/users/invite \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"acceptInviteClientUrl": "<control plane url>/invite-accept",
"email": "<string>"
}'
{}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
User has been successfully invited.
The response is of type object
.
Was this page helpful?