Skip to main content
DELETE
Bulk delete agent secrets

Authorizations

Authorization
string
header
required

a valid bearer token

Path Parameters

agentId
string
required

The ID of the agent whose vault the secrets are stored in.

Query Parameters

secretNames
string[]
required

Comma-separated list of secret names to delete (1-50 names per request). The parameter can also be repeated instead (secretNames=a&secretNames=b); a name containing a comma must be sent this way, repeated even if it is the only name (secretNames=a,b&secretNames=a,b), to disambiguate it from two names.

Required array length: 1 - 50 elements

Response

Per-secret delete outcomes. Always returned, including on complete success (with an empty error array) and total failure (with an empty success array).

Per-secret outcomes for a bulk delete request. Both success and error are always present, including when one of them is empty.

error
object[]
required

Secrets that could not be deleted due to an internal failure. Retrying the request may succeed.

success
object[]
required

Secrets that either were deleted or were already absent - see the outcome field on each entry to distinguish the two.