Skip to main content
POST
/
api
/
v1
/
management
/
attribute-classes
Create Attribute Class
curl --request POST \
  --url https://{baseurl}/api/v1/management/attribute-classes \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "environmentId": "{{environmentId}}",
  "key": "my-custom-attribute",
  "name": "My new Attribute",
  "type": "custom"
}
'
{}

Headers

x-api-key
string
required

Body

application/json
environmentId
string
required
key
string
required
name
string
required
type
enum<string>
required
Available options:
custom
description
string

Response

OK

The response is of type object.