Delete a TOTP secret
client.v2.totp.secrets.delete(stringsecretID, RequestOptionsoptions?): SecretDeleteResponse { status }
DELETE/api/v2/totp/secrets/{secret_id}
Delete a TOTP secret
import SendblueAPI from 'sendblue';
const client = new SendblueAPI({
apiKey: process.env['SENDBLUE_API_API_KEY'], // This is the default and can be omitted
apiSecret: process.env['SENDBLUE_API_API_SECRET'], // This is the default and can be omitted
});
const secret = await client.v2.totp.secrets.delete('550e8400-e29b-41d4-a716-446655440000');
console.log(secret.status);{
"status": "OK"
}Returns Examples
{
"status": "OK"
}