Update Calendar Owners

    Updates a calendar owner.

    API Type

    Service API

    Request URL

    https://apis.worksmobile.com/r/{API_ID}/calendar/v2/users/me/calendarList/{calendarId}/owner

    HTTP Method

    PUT (Content-Type: application/json; charset=UTF-8)

    Path Parameters

    Parameter Type Required Description
    calendarId String Y Calendar ID

    Request Body

    Property Type Required Description
    targetUserEmail String Y New owner's email address

    Request Example

    {
        "targetUserEmail": "new_owner@worksmobile.com"
    }
    

    Response

    Property Type Required Description
    result String Y API request result
    code Integer Y HTTP status code
    returnValue String Y New owner’s email address

    Response Example

    {
        "result": "success",
        "code": 200,
        "returnValue":"new_owner@worksmobile.com"
    }