PUT
/
users
/
{id}
curl --request PUT \
  --url https://api.pagecall.com/v1/users/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "default_member_type": "guest",
  "name": "scotty",
  "profile_url": "https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&f=y"
}'
{
  "user": {
    "access_token": "TfowtRYBs0E_trzoTaCmAXKzB1JxDDhi",
    "created_at": "2023-01-01T01:00:00.000Z",
    "default_member_type": "guest",
    "name": "scotty",
    "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

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

user id

Body

application/json
default_member_type
enum<string>
default: guest

Type of user in this room

  • guest: The user is guest.
  • host: The user is host. This user has administrator privileges.
  • monitor: The user is observer. Can watch the meeting, but can not join.
Available options:
guest,
host,
monitor
name
string

Name of the user.

profile_url
string

Profile image of the user

Response

200 - application/json
user
object