Was this helpful?
Get the dealer to which the tenant belongs.
/tenants/{id}/dealers
The unique ID of tenant.
The unique ID of the resource.
curl -L \ --url 'https://HOSTNAME:8887/api/tenants/{id}/dealers' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "items": [ { "enabled": true, "name": "text", "display_name": "text", "level": "DISTRIBUTOR", "id": "NzAwNTUxOTA5NzczMTQ4MTYw" } ] }
Designate tenant to dealer.
/tenants/{id}/dealers/{dealer_id}
The unique ID of dealer.
curl -L \ --request POST \ --url 'https://HOSTNAME:8887/api/tenants/{id}/dealers/{dealer_id}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No body