Skip to main content

Set a secret rotation reminder

post/v1/secrets/configs/config/secrets/{secret_id}/reminder

Only for secrets of the root configuration. Requires admin access to the environment.

Request​

Authorization

  • Authorizationstringheaderrequired

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

Path Parameters

  • secret_id integer<int64>required

    Secret ID

Query Parameters

  • project stringrequired

    Project alias

  • config stringrequired

    Configuration alias: <environment> is the root configuration, <environment>/<name> is a branch or a personal configuration (<environment>/personal), for example dev/local

Request body

    next_atstring

    First reminder date in YYYY-MM-DD format, no earlier than tomorrow; immediately by default

    Example: 2026-03-01
    notestring

    Note

    Example: Check key rotation
    repeat_daysinteger<uint64>required

    Repeat interval in days

    Possible values: >= 1 and <= 365

Response

    next_atstring

    Next reminder date in YYYY-MM-DD format

    Example: 2026-03-01
    notestring

    Note

    Example: Check key rotation
    repeat_daysinteger<uint64>

    Repeat interval in days

    Example: 90