Brain Docs

Reference

Rust SDKInstallationHTTP clientWire client
put_llm_credentialget_llm_credentialtest_llm_credentialverify_llm_credentialdelete_llm_credential
ErrorsRetriesPagination
Brain/Docs
✦ ASKBrain on GitHubDashboard
Rust SDKCredentialsdelete_llm_credential

delete_llm_credential

Remove the namespace's provider key, and learn whether there was one to remove.

PURPOSE

Remove the namespace's provider key.

DELETE/v1/llm-credentialBearer API keystable
async fn delete_llm_credential(&self) -> Result<LlmCredentialDeleted, BrainHttpError>

Returns

FieldTypePresence
deletedbooleanalways

false means there was nothing there — the distinction that matters during an incident response, where “no key was installed” and “a key was installed and is now gone” are different findings.

Brain never takes a provider key from a request

The key is registered once, through these verbs, and sealed. It is never accepted as a per-request field, never returned by any read, and never configured on the Brain server itself. Anything that looks like a deploy-time provider key is from an older design. See Namespaces.

These five verbs exist on the HTTP tier only — the wire protocol has no credential routes.

See also
put_llm_credential

Was this page helpful?

verify_llm_credential

Re-check the stored key — a key that worked at registration can be revoked later.

whoami

The namespace, space and permissions the credential carries — the cheapest round trip that proves a key.

On this page

Returns
Suggest an editOpen in Playground