Models

Reset cache for policy

post/api/v1/models/{modelId}/cache_reset/{policyName}

Request

  • Base URL
    https://omniapp.co (the document declares no server; this is the origin it was published from)
  • URL
    https://omniapp.co/api/v1/models/{modelId}/cache_reset/{policyName}
  • Auth
    HTTP bearer

Path parameters

modelIdstring uuid required

Model UUID

Example:123e4567-e89b-12d3-a456-426614174000
policyNamestring required

Cache policy name

Example:daily_refresh

Request body

resetAtstring

ISO-8601 timestamp for when to reset the cache

Example request

{
  "resetAt": "2024-01-15T12:00:00Z"
}

Response

Cache reset scheduled

successboolean required

Whether the operation succeeded

Changes

No recorded changes to this operation across all 97 revisions of this API.