Delete a TOTP secret
v2.totp.secrets.delete(strsecret_id) -> SecretDeleteResponse
DELETE/api/v2/totp/secrets/{secret_id}
Permanently delete a stored TOTP secret.
Parameters
secret_id: str
Returns
Delete a TOTP secret
import os
from sendblue_api import SendblueAPI
client = SendblueAPI(
api_key=os.environ.get("SENDBLUE_API_API_KEY"), # This is the default and can be omitted
api_secret=os.environ.get("SENDBLUE_API_API_SECRET"), # This is the default and can be omitted
)
secret = client.v2.totp.secrets.delete(
"550e8400-e29b-41d4-a716-446655440000",
)
print(secret.status){
"status": "OK"
}Returns Examples
{
"status": "OK"
}