Terrain types

Create Terrain Type

POST
/orgs/{organizationId}/terrain-types

Creates a new terrain type.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

Request Body

application/json
  1. body
name*string
Length1 <= length
description?string|null
color?string
Default"blue"
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 POST 'https://api.tillor.eu/orgs/string/terrain-types' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
null