Skip to content
Ona Docs

DeleteSecret

POST/gitpod.v1.SecretService/DeleteSecret

Deletes a secret permanently.

Use this method to:

  • Remove unused secrets
  • Clean up old credentials

Examples

  • Delete secret:

    Permanently removes a secret.

    secretId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
Body ParametersJSONExpand Collapse
secretId: optional string
formatuuid

DeleteSecret

curl https://app.gitpod.io/api/gitpod.v1.SecretService/DeleteSecret \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $GITPOD_API_KEY" \
    -d '{}'
{}
Returns Examples
{}