Skip to main content
PUT
Update Provider Key

Update Provider Key

Update an existing AI provider API key’s credentials, base URL, label, or status.

Authentication

Requires JWT token authentication.
string
required
The UUID of the key to update
string
New API key value
string
New custom base URL
string
New label
string
New status (active, inactive, revoked)

Example Request

Response

Status Codes

Notes

  • Setting status to revoked will prevent the key from being used
  • Updating the provider_api_key replaces the stored key entirely
  • The original key value is never returned