pydo.security.delete_secret()
Generated on 6 Nov 2026
from pydo version
v0.45.0
Usage
client.security.delete_secret(secret="my-database-password", region="nyc3")Description
To schedule a secret for deletion, send a DELETE request to /v2/security/secrets/{secret}.
region is required. The secret is pending deletion and can be restored
until it is permanently removed.
Parameters
secretstring requiredThe name of the secret.
regionstring requiredThe region where the secret is stored.
More Information
See /v2/security/secrets/{secret} in the API reference for additional detail on responses, headers, parameters, and more.