Logo
MicroStrategy REST API API Documentation

Update a custom calendar's definition

PUT {{baseUrl}}/api/model/calendars/:calendarId

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
X-MSTR-AuthToken
string (Required)
X-MSTR-MS-Changeset
string (Required)




RESPONSES

status





Curl
curl -X PUT 'baseUrl/api/model/calendars/:calendarId' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-MS-Changeset: rd_changesetId' -d '{"information":{"name":"update the custom calendar"},"baseCalendar":{"objectId":"1414DF67F20B4E4F910E418C8DCE7274"},"tablePrefix":"MSTR_","calendarBegin":{"dynamicYearOffset":-5},"calendarEnd":{"staticYear":"2026"},"weekStartDay":"Sunday"}'

ENDPOINTS