v6

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

Update

Update a config type by ID.

patch/config_types/{config_type_id}

Path parameters

config_type_idstring required
Example:cfg_typ_123

The unique identifier of the config type.

Request body

namestring

The updated name of the config type.

slugstring

The updated slug for the config type.

Example request

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

Response

Successfully updated 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"
}