Delete a specific secret by id
curl --request DELETE \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "768c4848-bacc-4c82-8057-2b43d9035bbb",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "sowhxzucfa",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-12-05T09:07:28.834-08:00",
"updated_at": "2025-12-05T09:07:30.826-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
secret deleted
Show child attributes
Unique ID of the secret
secrets Show child attributes
The name of the secret
Date of creation
Date of last update
The redacted secret
The HashiCorp Vault secret mount path
The HashiCorp Vault secret path
The HashiCorp Vault secret version
Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "768c4848-bacc-4c82-8057-2b43d9035bbb",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "sowhxzucfa",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-12-05T09:07:28.834-08:00",
"updated_at": "2025-12-05T09:07:30.826-08:00"
}
}
}