Varshini
Varshini

Reputation: 199

How can I change "Created By" in Google Calendar using google calendar api?

I've given the creator object with name and email id, but still it gets saved in the google calendar with my gmail ID only.

    {
      "end": {
        "dateTime": "2017-07-20T20:30:00.392227",
        "timeZone": "Asia/Kolkata"
      },
      "start": {
        "dateTime": "2017-07-20T20:00:00.392227",
        "timeZone": "Asia/Kolkata"
      },
      "summary": "Birthday Party",
      "creator": {
        "displayName": "Lara",
        "email": "[email protected]"
        "self": true
      }
    }

What should I do to change the Creator or "Created By" under events in Google Calendar?

Upvotes: 1

Views: 1102

Answers (1)

ReyAnthonyRenacia
ReyAnthonyRenacia

Reputation: 17623

I don't think these properties (creator, creator.displayName, creator.email, creator.id, creator.self) are editable as they are marked as Read-only property in Events resources. You may only use them as is.

Upvotes: 3

Related Questions