v6

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-05-12308589.5 KB
Config Types

Create

Create a new config type.

post/config_types

Request body

namestring required

The name of the config type.

slugstring required

An immutable, code-friendly name for the config type.

Example request

{
  "name": "My Config Type",
  "slug": "my-config-type"
}

Response

Successfully created the config type.

object'config_type' required

The object type, which is always config_type.

idstring required

ID of the config type.

namestring required

Name of the config type.

slugstring required

An immutable, code-friendly name for the config type.

created_atstring date-time required

Timestamp of when the config type was created.

updated_atstring date-time required

Timestamp of when the config type was last updated.

Example response

{
  "object": "config_type",
  "id": "cfg_123",
  "name": "My Config Type",
  "slug": "my-config-type",
  "created_at": "2021-01-01T00:00:00Z",
  "updated_at": "2021-01-01T00:00:00Z"
}