Remove an AI provider credential
DELETE
/api/v1/ai/credentials/{provider}
const url = 'https://example.com/api/v1/ai/credentials/claude';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/api/v1/ai/credentials/claude \ --header 'Authorization: Bearer <token>'Remove the caller’s saved credential for one AI provider. The server returns no response body. Route: /api/v1/ai/credentials/{provider}. Inputs: provider. Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”provider
required
The official coding Agent selected by a prompt mention.
string
Responses
Section titled “Responses”Provider credential removed
Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}