Preference CentersUpdate preference center
Preference Centers

Update preference center

Updates an existing preference center.

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

The preference center identifier

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

Path Parameters

idstring
Required

The preference center identifier

Body

application/json
namestring

Name of the preference center

descriptionstring

Description of the preference center

tenantIdstring

Associated tenant identifier

configobject

Preference center configuration

Responses

statusinteger

HTTP status code

messagestring

Response message

dataobject

Response payload

errorsstring[]

List of error details, if any