Skip to main content
DELETE
/
v1
/
auth
/
users
/
{user_id}
/
delete
Delete User
curl --request DELETE \
  --url https://api.streambird.io/v1/auth/users/{user_id}/delete \
  --header 'Authorization: Bearer <token>'
{
  "message": "Successfully deleted user",
  "user_id": "user_24wFP9pDa9YiMJLun94iKykoZs2"
}

Authorizations

Authorization
string
header
required

Auth Platform API includes all the Auth related features. All Users, Phone Numbers, Emails, and OTPs are associated with an App as the container.

Endpoints only accept App's Secret API keys other than certain endpoints that are used client side or via SDK that accept the public_token.

Authentication using App Api Key

Header:

Authorization: Bearer {api_key}

Authenticated Request

curl \
-X GET https://api.streambird.io/v1/auth/users/user_24wFP9pDa9YiMJLun94iKykoZs2 \
-H "Authorization: Bearer sk_test_pRqweh3wvWmJAAVYv7Z0T5iPLzFM4ql0muoyQcjOxGeN3p1r"

Path Parameters

user_id
string
required

Unique User ID of the user.

Example:

"user_24wFP9pDa9YiMJLun94iKykoZs2"

Response

200 - application/json

Delete User response

message
string
required

Success message of the action.

Minimum length: 1
user_id
string
required

Unique User ID of the deleted user.

Minimum length: 1