Delete User Phone Number
Delete a phone number from the associated user.
HTTP Request
DELETE /v1/auth/users/phone_numbers/{phone_number_id}/delete
Returns
A successful response returns an object with message
and user_id
properties.
Path parameters
-
Unique ID of the phone number to be deleted.
DELETE /v1/auth/users/phone_number/{phone_number_id}/delete
curl \
-X DELETE https://api.streambird.io/v1/auth/users/phone_number/{phone_number_id}/delete \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"message": "Successfully deleted user phone number",
"user_id": "user_24wFP9pDa9YiMJLun94iKykoZs2"
}