Release Candidate — the API is undergoing final validation before general availability, and minor changes may still occur.
Hellomateo API Documentation
Calendars

Update Calendar Blocked Time

PATCH
/v1/calendars/{calendar_id}/blocked-times/{id}

Updates the specified calendar Blocked Time.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

calendar_id*string

Unique identifier of the related calendar.

Formatuuid
id*string

Unique identifier for the resource.

Formatuuid

Request 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.

Formatdate-time
end_at?string

Timestamp for end at.

Formatdate-time
recurrence_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/calendars/497f6eca-6276-4993-bfeb-53cbbbba6f08/blocked-times/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -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"}