User Endpoints
Delete User
User Endpoints
Delete User
Delete user with user id
DELETE
/
users
/
{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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
user id
Response
200
application/json
Successful operation
ID of the user. Will override exisiting user if the specified ID already being used.
Example:
"external_user_102932"
Name of the user.
Example:
"scotty"
Profile image of the user
Example:
"https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&f=y"
Default type of member when invited to room
Available options:
guest
, host
, monitor
Example:
"guest"
Access token to authenticate as the user.
Example:
"TfowtRYBs0E_trzoTaCmAXKzB1JxDDhi"
Creation time of the user
Example:
"2023-01-01T01:00:00.000Z"
Last modified time of the user
Example:
"2023-01-01T01:00:00.000Z"
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"
}
}