Update Provider Key
Provider Keys
Update Provider Key
Update an existing AI provider API key.
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.The UUID of the key to update
New API key value
New custom base URL
New label
New status (
active, inactive, revoked)Example Request
Response
Status Codes
| Code | Description |
|---|---|
200 | Key updated successfully |
400 | Invalid request |
401 | Invalid or missing JWT token |
404 | Key not found |
Notes
- Setting
statustorevokedwill prevent the key from being used - Updating the
provider_api_keyreplaces the stored key entirely - The original key value is never returned

