Request secret deletion
    • PDF

    Request secret deletion

    • PDF

    Article summary

    Summary

    Request deletion of a secret.
    Only secrets in the ENABLE (in use) or DISABLE(suspended)status can be requested for deletion.

    POST https://secretmanager.apigw.ntruss.com/api/v1/secrets/{secretId}/request-deletion
    

    Request

    Request parameters

    Parameter nameTypeDescription
    secretIdStringSecret ID

    Request body

    None
    

    Response

    Response body

    {
      "code": "SUCCESS",
      "data": {
        "secretId": "string",
        "secretStatus": "REVOKE",
        "expectedDestroyDate": 0,
        "updateDate": 0
      }
    }
    
    Parameter nameTypeDescription
    secretIdStringSecret ID
    secretStatusStringSecret status (REVOKE)
    expectedDestroyDateIntegerEstimated deletion date
    updateDateIntegerUpdate date

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.