Api Caches Partial Update

PATCH handler with superadmin lock and field protection.

Checks:

  1. Object lock (is_managed=True -> non-superadmins can’t modify)
  2. Field protection (non-superadmins can’t modify specific fields)

Authentication

AuthorizationBearer
JWT access token or Respan API key

Request

This endpoint expects an object.
cache_keystring or nullOptional
cache_key_by_org_uuidstring or nullOptional
hit_countintegerOptional-2147483648-2147483647
timestampdatetimeOptional
updated_atdatetimeOptional
expiry_datedatetime or nullOptional

Response

idintegerRead-only
prompt_contentstringRead-only
response_contentstringRead-only
cache_keystring or null
cache_key_by_org_uuidstring or null
hit_countinteger-2147483648-2147483647
timestampdatetime
updated_atdatetime
expiry_datedatetime or null