FortWatchFortWatchDocs
Menu

Check an asset again

POSThttps://api.fortwatch.ai/app/assets/{id}/revalidate
Scope assets:writeOperation ID revalidateAsset

Runs the reachability check again (DNS, HTTP and HTTPS). At most 30 an hour per workspace. Also limited per workspace: 30 a hour.

Parameters

NameInTypeDescription
idrequiredpathinteger

Example request

curl -X POST "https://api.fortwatch.ai/app/assets/42/revalidate" \
  -H "Authorization: Bearer $FORTWATCH_API_KEY"

Response 200

The request succeeded.

FieldTypeDescription
messagerequiredstring
json
{
  "message": "string"
}

Errors

400The request is not valid: a field is missing or has the wrong shape (the message names it).
401No valid credentials: the API key or access token is missing, revoked or expired (INVALID_API_KEY, INVALID_TOKEN).
403Not allowed: the key or token lacks this scope (SCOPE_REQUIRED), the route is dashboard-only (SESSION_REQUIRED), or a plan limit applies.
404Not found in your workspace.
429Too many requests (RATE_LIMITED): wait the seconds Retry-After gives.