Search + K

Command Palette

Search for a command to run...

Sign In

calendar.acl.update

PUT /calendars/{calendarId}/acl/{ruleId}
Copy endpoint
https://www.googleapis.com/calendar/v3

Updates an access control rule.

Parameters

path Path Parameters

Name Type
calendarId required

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.

string
ruleId required

ACL rule identifier.

string

query Query Parameters

Name Type
sendNotifications

Whether to send notifications about the calendar sharing change. Note that there are no notifications on access removal. Optional. The default is True.

boolean
alt

Data format for the response.

"json"
fields

Selector specifying which fields to include in a partial response.

string
key

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.

string
oauth_token

OAuth 2.0 token for the current user.

string
prettyPrint

Returns response with indentations and line breaks.

boolean
quotaUser

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

string
userIp

Deprecated. Please use quotaUser instead.

string

Request Body

application/json
interface AclRule {
etag?: string;
id?: string;
kind?: string;
role?: string;
scope?: { type?: string;value?: string; };
}

Responses

200 */*

Successful response

interface AclRule {
etag?: string;
id?: string;
kind?: string;
role?: string;
scope?: { type?: string;value?: string; };
}