patch/extension/token/{id}

Request

  • Base URL: https://api.useanima.sh/v1
  • URL: https://api.useanima.sh/v1/extension/token/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

idstring required

API key id of the extension token to update

Request body

authPolicy'session' | 'pre_approved' | 'prompt_owner'

Updated auth policy for this token

tokenTtl'15m' | '1h' | 'session'

Updated TTL for this token. Recomputes expiresAt from now.

Response

OK

idstring required
authPolicy'session' | 'pre_approved' | 'prompt_owner' required

How agents authenticate the browser extension

tokenTtl'15m' | '1h' | 'session' required

How long the extension auth token stays valid

expiresAtstring date-time nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.