Skip to Content
Terrains

Update terrain

Toegang

Lid van de organisatie met dit recht:

  • terrains:write

Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.

PATCH
/orgs/{organizationId}/terrains/{id}

Updates an existing terrain with partial data.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

id*string

Request Body

application/json
  1. body
name?string
Length1 <= length <= 255
description?string
bookable?boolean
geoJson?
customFields?
terrainTypeId?string|null

Response Body

OK

application/json
  1. response
Example Request
curl -X PATCH 'https://api.tillor.eu/orgs//terrains/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
null