Terrain types

Update Terrain Type

PUT
/orgs/{organizationId}/terrain-types/{id}

Updates an existing terrain type.

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
description?string|null
color?string
Value in"blue""sky""cyan""teal""emerald""green""lime""yellow""amber""orange""red""rose""pink""fuchsia""purple""violet""indigo""slate""gray""stone"

Response Body

OK

application/json
  1. response
curl -X PUT 'https://api.tillor.eu/orgs/string/terrain-types/string' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
null