Promotes customer into production. Production customers have monitoring enabled, and their data can no longer be deleted via the API.
POST https://partners.zoined.com/api/customers/{id}/promote
Security
partnerToken
- Mock serverhttps://zone-api.zoined.com/_mock/api/customers/{id}/promote
- https://partners.zoined.comhttps://partners.zoined.com/api/customers/{id}/promote
curl -i -X POST \
https://zone-api.zoined.com/_mock/api/customers/dm_company/promote \
-H 'Authorization: YOUR_API_KEY_HERE'Customer was promoted successfully.
Customers's processing state. Disabled customers don't poll for new data
Example:false
Response
{ "key": "dm_company", "name": "Demo company", "createdAt": "2019", "disabled": false, "production": true, "customerType": "other", "token": "abcdefghijklmn", "status": "ok", "licenses": [ "standard" ], "dataUpdated": { "visitors": "2016-03-22T13:02:36.000+02:00" }, "dataSource": { "host": "db-host", "port": 3306, "database": "database_name", "username": "db-username", "password": "db-XXXXXXXX" }, "ssoSecret": "asdajksdajdsjsdadjsasodaj" }