Delete a provider
DELETE/v1/projects/:project_id/providers/:provider_id
Deletes the backing provider record on the runtime and its secret. Returns 409 if the provider is still referenced by live resources (agents) — detach those first. force=true clears only soft dependents (price overrides, usage history); live references always block deletion.
Request
Responses
- 204
- 401
- 404
- 409
- 502
Provider deleted.
Missing or invalid credentials.
The resource does not exist (existence is not leaked).
The request conflicts with the resource's current state.
The upstream runtime could not complete the operation.