Skip to main content
GET
/
v1
/
compute
/
machines
/
{providerId}
/
drift
Check if machine has drifted
curl --request GET \
  --url https://api.cnap.tech/v1/compute/machines/{providerId}/drift \
  --header 'Authorization: Bearer <token>'
{
  "drifted": true,
  "reason": "<string>"
}

Authorizations

Authorization
string
header
required

Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://cnap.tech/account/tokens

Path Parameters

providerId
string
required

Provider-assigned machine ID

Response

Drift result

drifted
boolean
required
reason
string