AppAIGatewayDocs
API referenceAdmin providers

Delete a provider credential and its custom pricing

DELETE
/v1/admin/providers/{id}

A hard delete, secret and pricing included. Applications using this provider start failing with provider_not_configured within a minute. To pause an instance reversibly instead, send status: "disabled" to PUT /v1/admin/providers/{id}.

Authorization

agw_identity_auth.session_token<token>

The console's session cookie. Admin requests from the console also send x-console-request: 1.

In: cookie

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/admin/providers/string"
{  "deleted": true,  "provider_id": "string"}