Invite MSP Users

Invite users to the MSP entity. Uses the authenticated user's managed entity.

Body·AdminInviteMspUsersInput
required
application/json
  • users
    Type: array object[] · Users 1…100
    required

    List of users to invite

Responses
  • application/json
  • application/json
Request Example for post/admin/users/invite/msp
curl https://ai.hatz.ai/v1/admin/users/invite/msp \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: YOUR_SECRET_TOKEN' \
  --data '{
  "users": [
    {
      "email": "",
      "first_name": "",
      "last_name": "",
      "role": ""
    }
  ]
}'
{
  "message": "string",
  "total_new_users_created": 0,
  "total_new_users_failed": 0,
  "new_users_failed_emails": [],
  "results": [
    {}
  ]
}