Skip to main content
PATCH
/
api
/
v2
/
containers
/
{container_id}
/
custom_fields
/
{api_slug}
cURL
curl --request PATCH \
  --url https://api.example.com/api/v2/containers/{container_id}/custom_fields/{api_slug}
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.