younifyd
Menu

Calendar.calendars.clear

Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.

POST/calendars/{calendarId}/clear

Use it in a workflow

  1. Add a step and choose the Google Calendar connector.
  2. Pick the Calendar.calendars.clear action (under calendars).
  3. Fill in the fields below, then reference the result from later steps as {{calendarCalendarsClear.response.data}}.

Request

Path parameters

calendarIdstringrequired

Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.

Query parameters

altstring

Data format for the response.

One ofjson

fieldsstring

Selector specifying which fields to include in a partial response.

keystring

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_tokenstring

OAuth 2.0 token for the current user.

prettyPrintboolean

Returns response with indentations and line breaks.

quotaUserstring

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

userIpstring

Deprecated. Please use quotaUser instead.

Response

Returns 200 with a any. Read it in later steps with {{calendarCalendarsClear.response.data.<field>}}.

Need more? See the Google Calendar guide for connection setup and behaviour shared by every action.

Calendar.calendars.clear — Google Calendar — Documentation