Skip to content
Get Started

Delete a TOTP secret

DELETE/api/v2/totp/secrets/{secret_id}

Permanently delete a stored TOTP secret.

Path ParametersExpand Collapse
secret_id: string
ReturnsExpand Collapse
status: optional string

Delete a TOTP secret

curl https://api.sendblue.co/api/v2/totp/secrets/$SECRET_ID \
    -X DELETE \
    -H "sb-api-key-id: $SENDBLUE_API_API_KEY" \
    -H "sb-api-secret-key: $SENDBLUE_API_API_SECRET"
{
  "status": "OK"
}
Returns Examples
{
  "status": "OK"
}