v1

latestOpenAPI 3.0.02026-07-24161215397.4 KB
Events

Delete an event.

Delete an event.

Required scopes: flex.collaboration.events.delete

delete/api/v2/organizations/{orgSlug}/events/{eventId}

Path parameters

eventIdstring required

Id of the event.

orgSlugstring required

organization slug

Response

_idstring

The _id of the event.

startstring

The start date of the event.

endstring

The end date of the event.

timezonestring

The timezone of the event.

titlestring

The title of the event.

locationstring

The _id of the location of the event.

locationsstring[]

The ids of the locations where the event is visible.

descriptionstring

The description of the event.

wherestring

A description of where the event will be taking place.

companystring

The _id of the company that will be associated with the event.

memberstring

The _id of the member who created the event.

limitnumber

The number of participants that this event will host.

linksstring[]

An array containing all the links associated with the events.

imagestring

The image link associated with the event.

Example response

{
  "_id": "603dfbc260f4054084125d30",
  "start": "2024-01-01T06:00:00Z",
  "end": "2024-01-01T12:00:00Z",
  "timezone": "America/New_York",
  "title": "Lunch and Learn",
  "location": "603dfbc260f4054084125d33",
  "locations": [
    "603dfbc260f4054084125d33",
    "603dfbc260f4054084125d34"
  ],
  "description": "Join us for a lunch and learn session.",
  "where": "Conference Room 1",
  "company": "603dfbc260f4054084125d33",
  "member": "603dfbc260f4054084125d33",
  "limit": 20,
  "links": [
    "https://www.google.com",
    "https://app.officernd.com"
  ],
  "image": "https://www.google.com/image.png"
}