Skip to main content

deleteCpSecret

Operator only (is_operator). Deletes a control-plane secret by environment + name and writes an audit entry. Returns true when a secret was removed.

deleteCpSecret(
environmentId: String!
name: String!
): Boolean!

Arguments

deleteCpSecret.environmentId ● String! non-null scalar

Environment UUID the secret belongs to.

deleteCpSecret.name ● String! non-null scalar

Name/key of the secret to delete.

Type

Boolean scalar

The Boolean scalar type represents true or false.