standards
API ReferenceSchema

Add attribute

POST
/schema/objects/{objectId}/attributes

Path Parameters

objectId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Definition of a new attribute. Type-specific configuration (e.g. options for select, decimals for number, target object for relation) is passed as additional top-level keys.

Response Body

curl -X POST "https://example.com/schema/objects/string/attributes" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "label": "string",    "type": "text"  }'
Empty