Skip to main content
PATCH
/
containers
/
{container_id}
/
custom_fields
/
{api_slug}
Update a container custom field
curl --request PATCH \
  --url https://api.terminal49.com/v2/containers/{container_id}/custom_fields/{api_slug} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "attributes": {
      "api_slug": "<string>",
      "value": "<string>",
      "display_value": "<string>"
    },
    "relationships": {
      "entity": {
        "data": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        }
      },
      "definition": {
        "data": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        }
      }
    }
  },
  "links": {
    "self": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://terminal49-codex-docs-audit-diataxis-skill.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Updates a specific custom field on a container by its api_slug.

Path parameters

ParameterRequiredDescription
container_idYesThe ID of the container
api_slugYesThe api_slug of the custom field definition

Request body

ParameterRequiredDescription
valueYesThe new value to set

Authorization

Requires update permission on the container.

Response

Returns 200 OK with the updated custom field resource on success.

Authorizations

Authorization
string
header
required

Use a Terminal49 API key in the Authorization header with the Token prefix.

Authorization: Token YOUR_API_KEY

Path Parameters

container_id
string
required

Container ID

api_slug
string
required

Custom field api_slug

Body

application/json
data
object

Response

200 - application/json

OK

data
Custom field · object