Update an existing AI provider API key.
| Parameter | Type | Required | Description |
|---|---|---|---|
keyUuid | string | Yes | The UUID of the key to update |
| Field | Type | Description |
|---|---|---|
provider_api_key | string | New API key value |
provider_base_url | string | New custom base URL |
label | string | New label |
status | string | New status (active, inactive, revoked) |
| Code | Description |
|---|---|
200 | Key updated successfully |
400 | Invalid request |
401 | Invalid or missing JWT token |
404 | Key not found |
status to revoked will prevent the key from being usedprovider_api_key replaces the stored key entirely