User Endpoints
Delete User
User Endpoints
Delete User
Delete user with user id
DELETE
/
users
/
{id}
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
id
string
*
id
Required
string
user id
curl --request DELETE \
--url https://api.pagecall.com/v1/users/{id} \
--header 'Authorization: Bearer <token>'
{
"user": {
"user_id": "external_user_102932",
"name": "scotty",
"profile_url": "https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&f=y",
"default_member_type": "guest",
"access_token": "TfowtRYBs0E_trzoTaCmAXKzB1JxDDhi",
"created_at": "2023-01-01T01:00:00.000Z",
"updated_at": "2023-01-01T01:00:00.000Z"
}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
id
string
requireduser id
Response
200 - application/json
user
object
user.user_id
string
ID of the user. Will override exisiting user if the specified ID already being used.
user.name
string
Name of the user.
user.profile_url
string
Profile image of the user
user.default_member_type
enum<string>
default: guestDefault type of member when invited to room
Available options:
guest
, host
, monitor
user.access_token
string
Access token to authenticate as the user.
user.created_at
string
Creation time of the user
user.updated_at
string
Last modified time of the user
curl --request DELETE \
--url https://api.pagecall.com/v1/users/{id} \
--header 'Authorization: Bearer <token>'
{
"user": {
"user_id": "external_user_102932",
"name": "scotty",
"profile_url": "https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&f=y",
"default_member_type": "guest",
"access_token": "TfowtRYBs0E_trzoTaCmAXKzB1JxDDhi",
"created_at": "2023-01-01T01:00:00.000Z",
"updated_at": "2023-01-01T01:00:00.000Z"
}
}