Command: compare desired state with the provider now (manual check).
POST
/zones/{zoneId}/drift/refresh
const url = 'https://example.com/api/v1/zones/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/drift/refresh';const options = {method: 'POST', headers: {cookie: 'dnse_session=<dnse_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/zones/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/drift/refresh \ --cookie dnse_session=<dnse_session>Authorizations
Abschnitt betitelt „Authorizations“Parameters
Abschnitt betitelt „Parameters“Path Parameters
Abschnitt betitelt „Path Parameters“zoneId
required
string format: uuid
Responses
Abschnitt betitelt „Responses“Fresh drift items.
Media typeapplication/json
Array<object>
object
id
string format: uuid
zoneId
string format: uuid
name
string
type
string
kind
string
theirTtl
integer format: int64
theirRecords
Array<string>
Example
[ { "kind": "modified" }]Resource not found.
Media typeapplication/json
object
error
required
string
Examplegenerated
{ "error": "example"}