Delete User TOTP
Delete a TOTP attached to a user.
HTTP Request
DELETE /v1/auth/users/totps/{totp_id}/delete
Returns
A successful response returns an object with message
and user_id
properties.
Path parameters
-
Unique ID of the TOTP instance to be deleted.
DELETE
/v1/auth/users/totps/{totp_id}/delete
curl \
-X DELETE https://api.streambird.io/v1/auth/users/totps/{totp_id}/delete \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"user_id": "user_24wFP9pDa9YiMJLun94iKykoZs2",
"message": "Successfully deleted user totp"
}