This resource allows you modify extra_attributes for containers in Octopi.

Supported Formats

json

PUT /api/v1/containers/:number/extra_attributes/:label
Updates a Container

This resource allows you modify extra_attributes for containers in Octopi.

Supported Formats

json

Errors

Code Description
400 Bad Request.
500 Internal Server Error.

Examples

curl "https://app.octopi.co/api/v1/containers/NUMBER/extra_attributes/extra_attribute_label" \
     -X PUT \
     "Authorization: Token token=ADD TOKEN HERE" \
     -d '{ "value": "FLEX_FIELD_VALUE" }'
"value": "EXTRA_ATTRIBUTE_VALUE" 

Params

Param name Description
label
required

Label of the extra attribute

Validations:

  • Must be a String

value
required

Value of the extra attribute to change

Validations:

  • Must be a String