Skip to main content
DELETE
/
v1beta
/
secrets
/
{id}
JavaScript
import Indices from 'indicesio';

const client = new Indices({
  apiKey: process.env['INDICES_API_KEY'], // This is the default and can be omitted
});

const secret = await client.secrets.delete('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e');

console.log(secret.id);
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "deleted": true
}

Documentation Index

Fetch the complete documentation index at: https://beta-docs-prod.indices.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter your API key as the bearer token. Set header: Authorization to Bearer <api_key>

Path Parameters

id
string<uuid>
required

The UUID of the secret to delete.

Response

Successful response

id
string<uuid>
required

Unique identifier of the deleted secret.

deleted
boolean
required

Whether the secret was successfully deleted.