Create an Attribute
1 min
POST
https://api.optimizely.com/v2/attributes
acceptstringGenerated from available response content types
bodyobjectA string in JSON format that includes all the fields to create a new Attribute
201Successfully created the Attribute
400Invalid request body content
401Invalid credentials
defaultUnexpected error
curl --request POST \
--url https://api.optimizely.com/v2/attributes \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"key": "subscriber_status",
"project_id": 17738411154
}'