Invite

POST /api/account/invite

Headers

  • Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)

application/json

Body

Responses

POST /api/account/invite
curl \
 -X POST https://api-dev.gatego.io:443/api/account/invite \
 -H "Content-Type: application/json" \
 -d '{"can_view_carrier_ids":[42],"can_view_other_carriers":true,"carrier_id":42,"email":"string","role":"ADMIN","yard_id":42}'
Request examples
# Headers

# Payload
{
  "can_view_carrier_ids": [
    42
  ],
  "can_view_other_carriers": true,
  "carrier_id": 42,
  "email": "string",
  "role": "ADMIN",
  "yard_id": 42
}