โ๏ธUpdating Participants
This step shows how to update participants in a Groups session.
There are two ways to update participant details for a session:
With ATTENDANCE_CODE
You need the SESSION_ID of the session and the ATTENDANCE_CODE, which is the participant ID of the user, to update the participant in a session.
Available parameters:
name
string
Name of the participant
surname
string
Surname of the participant
string
Email of the participant
mobile
string
Mobile phone of the participant
Example Payload:
curl --location --request PUT 'https://<DOMAIN>/xapi/session/<SESSION_ID>/attendee/<ATTENDANCE_CODE>' \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"name": "test",
"surname": "surname"
"role": "u"
}'
With EMAIL
You need the SESSION_ID of the session and the EMAIL, which is the email of the user, to update the participant in a session.
Available parameters:
name
string
Name of the participant
surname
string
Surname of the participant
string
Email of the participant
mobile
string
Mobile phone of the participant
Example payload:
curl --location --request PUT 'https://<DOMAIN>/xapi/session/<SESSION_ID>/attendee/<EMAIL>' \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"name": "test",
"surname": "surname"
"role": "u"
}'
Last updated
Was this helpful?