Update core attributes configurations for a Container type.

API to update core attributes configuration of a container type specified by containerTypeName.

The configuration includes:

  1. List of core attributes (names) - Data type of each core attribute.
  2. Validation of core attribute values, if required, for each core attribute.


  • If the attribute is already defined for the container type- The validation rules will get updated for the attribute.
  • If the attribute is not defined for the container type- It is added as a new core attribute for the container type.
  • On successful execution of the API, all updates including change in data type will take effect immediately for the container type.
ㅤ↳name*Name of the attribute to be updated.stringExample: capacity
minLength: 3 maxLength: 64
ㅤ↳dataType*Field for the datatype of an attribute.stringExample: integer
Enum: [string, number, boolean, object, array]
ㅤ↳descriptionUpdated description of the attribute.stringminLength: 1 maxLength: 256
ㅤ↳indexedField to specify if the attribute is to be indexed. Filter or search operation on the basis of a custom attribute will be only allowed if this field is set as TRUE.booleanDefault: false
ㅤ↳validationSpecifies all the validations to be performed on an attribute, when a container of this type is created/updated.
ㅤㅤㅤ↳rangeField to specify the range that the attribute value must lie. In case of "string" data type, range will be the length of string value.numbermin: The min value, inclusive.
max: The max value, inclusive.
ㅤㅤㅤ↳regexField to specify the regex pattern that the value of an attribute MUST match.stringminLength: 1 maxLength: 512
ㅤㅤㅤ↳valueOneOfField to specify enum values for an attribute. list of valueOneOf should be homogeneous.EnumminItems: 1
ㅤㅤㅤ↳requiredField to specify if the value for the attribute is mandatory or not. If TRUE, the value MUST be provided.booleanDefault value: false
callbackRepresents callback URL, which can be to notify status(success/failed) of API.object{url: "string", meta: {}}

*This is required.

HTTP Status Code Summary
| Code | Description |
| ---- | ---------- |
| 202 - Accepted |
| 400 - Bad Request | The request was unacceptable, often due to missing a required parameter. |
| 401 - Unauthorized | No valid API key provided. |
| 404 - Not Found | The requested resource doesn't exist. |
| 503 - Server Error | Something went wrong. (These are rare.) |

Click Try It! to start a request and see the response here!