Calendars
Update Calendar Blocked Time by External ID
Updates the row resolved by its immutable, case-sensitive external_id within this organisation. external_id cannot be changed. Repeating the same PATCH body is idempotent. Recurring masters and exceptions retain distinct locators, and exceptions reference the returned Mateo master UUID through series_id.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
external_id*string
Identifier assigned by an external system.
Length
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
name?|
Human-readable name of the resource.
is_all_day?boolean
Whether the resource is all day.
start_at?string
Timestamp for start at.
Format
date-timeend_at?string
Timestamp for end at.
Format
date-timerecurrence_rule?|
Recurrence Rule value for this resource.
series_id?|
Unique identifier of the related series.
replaces_occurrence_at?|
Timestamp for replaces occurrence at.
Response Body
application/json
curl -X PATCH "https://api.getmateo.com/v1/blocked-times/by?external_id=string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "calendar_id": "c828ce68-4c5a-4491-b76a-af3d888d3f97", "source": "manual", "name": "string", "external_id": "string", "is_all_day": true, "start_at": "2019-08-24T14:15:22Z", "end_at": "2019-08-24T14:15:22Z", "recurrence_rule": "string", "series_id": "0f6582ac-1e7e-41dc-a63a-24fccd074d0c", "replaces_occurrence_at": "2019-08-24T14:15:22Z"}