Preference CentersCreate preference center
Preference Centers

Create preference center

Creates a new preference center.

curl -X POST "https://api.neostra.io/api/v1/preference-center/create" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Cookie Preferences",
  "description": "example_string",
  "tenantId": "example_string",
  "config": {}
}'
{
  "status": 200,
  "message": "Success",
  "data": {},
  "errors": [
    "example_string"
  ]
}
POST
/api/v1/preference-center/create
POST
Content-Typestring
Required

The media type of the request body

Options: application/json
namestring

Name of the preference center

descriptionstring

Description of the preference center

tenantIdstring

Associated tenant identifier

configobject

Preference center configuration

Request Preview
Response

Response will appear here after sending the request

Body

application/json
namestring

Name of the preference center

descriptionstring

Description of the preference center

tenantIdstring

Associated tenant identifier

configobject

Preference center configuration

Responses