API
Records and certificates with keys of limited scope.
Create a key
In the customer panel, API keys, create a key. It is shown once. Its scope is one of "read", "read and change records" or "SSL certificates only", and it can be limited to some addresses and domains.
Address and authentication
https://my.cloud9.ir/api/customer/v1
Authorization: Bearer oscust_... Routes
| Route | What it does |
|---|---|
| GET /domains | Domains and plan limits |
| GET /domains/{domain}/records | Records of a domain |
| POST /domains/{domain}/records | Add a record |
| PUT /domains/{domain}/records/{id} | Change a record |
| DELETE /domains/{domain}/records/{id} | Delete a record |
| POST /domains/{domain}/acme | Add a certificate validation record |
Example
curl -H "Authorization: Bearer oscust_..." \
https://my.cloud9.ir/api/customer/v1/domains A record's id changes after every change; list the records again before an update or delete. Each address may send 60 requests a minute.
No answer here? Open a ticket in the OnlineServer client area. Open a ticket