Deleting an Attendee

This step shows how to remove participants from a session via GroupsAPI

There are three ways to remove an attendee from a session:

With ATTENDANCE_CODE parameter

curl --location --request DELETE 'https://<DOMAIN>/xapi/v2/session/<SESSION_GUID>/attendee/<ATTENDANCE_CODE>' \
--header 'Content-Type: application/json'

With USER_GUID parameter

curl --location --request DELETE 'https://<DOMAIN>/xapi/v2/session/<SESSION_GUID>/attendee/<USER_GUID>' \
--header 'Content-Type: application/json'

With EMAIL parameter

curl --location --request DELETE 'https://<DOMAIN>/xapi/v2/session/<SESSION_GUID>/attendee/<EMAIL>' \
--header 'Content-Type: application/json'

Example Response:

A successful delete operation will return 204 No Content without any body.

Last updated

Was this helpful?