REST API - renameCalendar

The table summarizes the REST API - renameCalendar.

Request

Format PUT <baseurl>/calendar/<name>/<version>/rename/<newname>
Path parameters
  • name: Existing name of the calendar.
  • version: Existing version of the calendar; used to detect concurrent updates to the same calendar.
  • newname: The new name of the calendar.
Query parameters
  • namespace (optional): Existing namespace of the calendar.
  • newnamespace (optional): The new namespace of the calendar, if this is being changed.

Response

JSON Returns a 200 OK response header with an empty response body.
XML Returns a 200 OK response header with an empty response body.

Example

Request
PUT <baseurl>/calendar/LONDON01/11/rename/HOUNSLOW?namespace=LONDON