v4

latestOpenAPI 3.0.22026-07-3188146256.6 KB
Schemas

putSchemaAttribute

Updates an attribute in the schema

put/v1/entity/schemas/attributes/{composite_id}

Path parameters

composite_idstring required
Example:contact:97644baa-083f-4e49-9188-fcff2ecaad7d

Schema Slug and the Attribute ID

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example request

{
  "id": "d5839b94-ba20-4225-a78e-76951d352bd6",
  "layout": "full_width",
  "_purpose": [
    "taxonomy-slug:classification-slug"
  ],
  "_manifest": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "constraints": {
    "disablePast": true
  },
  "feature_flag": "FF_MY_FEATURE_FLAG",
  "info_helpers": {
    "hint_tooltip_placement": "top"
  },
  "composite_id": "contact:97644baa-083f-4e49-9188-fcff2ecaad7d",
  "schema": "contact"
}

Response

Success

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example response

{
  "id": "d5839b94-ba20-4225-a78e-76951d352bd6",
  "layout": "full_width",
  "_purpose": [
    "taxonomy-slug:classification-slug"
  ],
  "_manifest": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "constraints": {
    "disablePast": true
  },
  "feature_flag": "FF_MY_FEATURE_FLAG",
  "info_helpers": {
    "hint_tooltip_placement": "top"
  },
  "composite_id": "contact:97644baa-083f-4e49-9188-fcff2ecaad7d",
  "schema": "contact"
}