curl --request DELETE \
--url http://localhost:3000/api/v1/credentials/cred_123abc \
--header 'Authorization: Bearer <token>'
const response = await fetch('http://localhost:3000/api/v1/credentials/cred_123abc', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer <token>'
}
});
const data = await response.json();
import requests
url = "http://localhost:3000/api/v1/credentials/cred_123abc"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
data = response.json()
{
"success": true,
"message": "Credential deleted successfully"
}
{
"success": false,
"message": "Unauthorized"
}
{
"success": false,
"message": "Credential not found"
}
Credentials
Delete Credential
Deletes a specific credential for the authenticated user
DELETE
/
api
/
credentials
/
{id}
curl --request DELETE \
--url http://localhost:3000/api/v1/credentials/cred_123abc \
--header 'Authorization: Bearer <token>'
const response = await fetch('http://localhost:3000/api/v1/credentials/cred_123abc', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer <token>'
}
});
const data = await response.json();
import requests
url = "http://localhost:3000/api/v1/credentials/cred_123abc"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
data = response.json()
{
"success": true,
"message": "Credential deleted successfully"
}
{
"success": false,
"message": "Unauthorized"
}
{
"success": false,
"message": "Credential not found"
}
Path Parameters
string
required
Credential ID to delete
Response
boolean
Indicates if the credential was deleted successfully
string
Success or error message
curl --request DELETE \
--url http://localhost:3000/api/v1/credentials/cred_123abc \
--header 'Authorization: Bearer <token>'
const response = await fetch('http://localhost:3000/api/v1/credentials/cred_123abc', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer <token>'
}
});
const data = await response.json();
import requests
url = "http://localhost:3000/api/v1/credentials/cred_123abc"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
data = response.json()
{
"success": true,
"message": "Credential deleted successfully"
}
{
"success": false,
"message": "Unauthorized"
}
{
"success": false,
"message": "Credential not found"
}
Notes
This action is irreversible. Once a credential is deleted, it cannot be recovered.
- Deleting a credential will remove all associated data
- Any services using this credential will lose access
- For Ollama credentials, deleting removes all associated models

