Skip to Content
kosemdocs
ReferenceAPIProviders

Delete provider in organization

Deletes a provider and its key. One that models go through is deleted only with force, which deletes them too.

DELETE
/v1/organizations/{organization}/providers/{provider}

Deletes a provider and its key. One that models go through is deleted only with force, which deletes them too.

Authorization

bearer
headerAuthorizationBearer <token>

An access token, or an API key.

Path Parameters

organization*string

The organization's ID.

Match^org_[0-7][0-9a-hjkmnp-tv-z]{25}$
provider*string

The provider's ID.

Match^prv_[0-7][0-9a-hjkmnp-tv-z]{25}$

Query Parameters

force?boolean

Deletes the provider even when models go through it, and them too: an organization's, with what projects adopted of them, and a project's own. Without it, deleting a provider in use fails with failed_precondition.

Response Body

No Content

Example Request
curl -X DELETE 'https://api.kosem.ai/v1/organizations/string/providers/string'
Example Response
Empty