/api/aliases/{name}Retire a named alias
Deactivates the alias; requests naming it are refused. Reversible with rollback. Org admin or the provisioning key.
Authentication: Bearer API key in the Authorization header
Path parameters
namestringrequiredThe named alias, as callers send it in
model.
Query parameters
org_idstringrequiredYour organization id (uuid).
GET /api/whoamireturns it.
Responses
204Retired.
401Missing, unknown or revoked API key.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
403The key is not a provisioning key (inference keys are refused, reads included), or it is a customer-plan key.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
404Unknown alias.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
422Missing
org_id.Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
Request
curl -X DELETE 'https://api.experientiallabs.ai/api/aliases/coding?org_id=3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10' \
-H "Authorization: Bearer <YOUR_API_KEY>"Response
{
"error": "Unauthorized"
}https://api.experientiallabs.ai/api/aliases/coding?org_id=3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10