User Endpoints
Delete User
Delete user with user id
DELETE
/
users
/
{id}
Authorization
Path
curl --request DELETE \
--url https://api.pagecall.com/v1/users/{id} \
--header 'Authorization: <authorization>'
{
"user": {
"access_token": "TfowtRYBs0E_trzoTaCmAXKzB1JxDDhi",
"created_at": "2023-01-01T01:00:00.000Z",
"default_member_type": "guest",
"name": "scotty",
"nickname": "scotty_the_guest",
"profile_url": "https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&f=y",
"updated_at": "2023-01-01T01:00:00.000Z",
"user_id": "external_user_102932"
}
}
Authorizations
Authorizationheaderrequired
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
idrequired
string
user id
Response
200 - application/json
user
object
curl --request DELETE \
--url https://api.pagecall.com/v1/users/{id} \
--header 'Authorization: <authorization>'
{
"user": {
"access_token": "TfowtRYBs0E_trzoTaCmAXKzB1JxDDhi",
"created_at": "2023-01-01T01:00:00.000Z",
"default_member_type": "guest",
"name": "scotty",
"nickname": "scotty_the_guest",
"profile_url": "https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&f=y",
"updated_at": "2023-01-01T01:00:00.000Z",
"user_id": "external_user_102932"
}
}