Skip to main content

Return hidden secrets to the missing list

post/v1/secrets/configs/config/secrets/undismiss

Undoes hiding secrets, which is done by deleting (should_delete) a secret missing from the root configuration. Requires editor access to the environment. Service tokens are not accepted.

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Request body

    configstringrequired

    Configuration alias

    Example: production/local
    projectstringrequired

    Project alias

    Example: payments
    secret_namesstring[]

    Secret names

    Example: ["DATABASE_URL","REDIS_URL"]

Response