Modifies the domain specified by ID.
This resource is available only for Global admin or Domain admin. |
Resource URL | |
---|---|
HTTP Method | POST |
Parameter | Detail | Example | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | ID of the domain to update. | 123 | |||||||||||||||||||||
data | Form contents to submit in following JSON format:
|
|
Using curl
:
curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" -d "data={\"description\":\"New description\",\"dateFormat\":\"yyyy-MM-dd\"\"timeFormat\":\"hh:mm:ss\"\"locale\":\"cs\"}" https://service.belladati.com/api/domains/123 |
When the form has been submitted successfully, the server replies with an HTTP status code of 200 and an empty body.