Was this helpful?
Get details of current dealer.
/dealer
curl -L \ --url 'https://HOSTNAME:8887/api/dealer' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "enabled": true, "name": "text", "display_name": "text", "website": "text", "phone": "text", "address": "text", "description": "text", "max_tenants": 100, "max_extensions": 50000, "level": "DISTRIBUTOR", "id": "NzAwNTUxOTA5NzczMTQ4MTYw", "email": "example@example.com" }
Modify the settings of the current dealer.
The display name of user.
The website of user.
The mobile phone number of user.
The address.
The description of dealer.
The email address of user.
curl -L \ --request POST \ --url 'https://HOSTNAME:8887/api/dealer' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{"email":"example@example.com"}'
No body