Create or update a single custom attribute
Upsert a single custom attribute identified by name. The name is taken from the URL path (URL-encoded). It must be 1-127 characters, must not contain a slash or any control character; spaces, dots, dashes, colons and unicode are allowed.
A string value is stored as plain text. A JSON object or array value is stored as a structured value: it is serialized in canonical form (compact, sorted keys) and the attribute is marked with the json flag, so scripts receive it as a hash map or array and JSON representations return it as an object or array rather than as text.
Path parameters
Custom attribute name (URL-encoded).
Request body
Response
Attribute created or updated.
Changes
Changed in 4 of the 115 revisions of this API.43
- ▲
the request property
became not nullablerequest-property-became-not-nullable
- ▲
removed
subschema #1subschema #3from therequest propertyoneOflistrequest-property-one-of-removed
- ○
added
subschema #1subschema #3to therequest propertyoneOflistrequest-property-one-of-added
- ▲
- ▲
response property
valuelist-of-types was widened by adding typesarray and objectto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
request property
list-of-types was widened by adding typesarray and objectto media typeapplication/jsonrequest-property-list-of-types-widened
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲