DNS Providers
Update a DNS provider
Changed onIf new credentials are supplied, they are tested before the update is persisted (same as creation) -- otherwise a provider's credentials (and, for Pebble, its target URL) could be swapped for something invalid or unsafe without ever going through validation.
put/dns-providers/{id}
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/dns-providers/{id}
- Auth: HTTP bearer
Path parameters
idinteger required
Request body
Example request
{
"credentials": {
"api_token": "your-api-token"
}
}Response
DNS provider updated
Changes
- info
added
subschema #1to the////request propertyoneOflist - info
added the non-success response with the status
- info
- breaking
removed
subschema #1from the////request propertyoneOflist - info
removed the non-success response with the status
- breaking