Was this helpful?
Get the dealer to which the tenant belongs.
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": [ { "id": "NzAwNTUxOTA5NzczMTQ4MTYw", "enabled": true, "level": "DISTRIBUTOR", "name": "text", "display_name": "text" } ] }
Designate tenant to dealer.
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