Skip to content

Remove travelers from an event

Request

Remove travelers from an event. This endpoint allows you to remove up to 10 travelers per API call.

Security
Bearer
Path
eventIdstringrequired

Event ID

Example:6926658168
Bodyapplication/json
typestring(EventType)

Type of an event

Enum:"GENERIC""PROGRAM""PROGRAM_SESSION""PROGRAM_TRIP"
Example:"GENERIC"
userIdsArray of objects, [ 1 .. 10 ] items(UserId)
curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/events/6926658168/travelers/remove \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "GENERIC",
    "userIds": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      }
    ]
  }'

Responses

OK

Bodyapplication/json
removedUserIdsArray of objects(UserId)
Response
{ "removedUserIds": [ { … } ] }