APIUpdate Multiple Settings

Update Multiple Settings

Update multiple settings at once using an object format.

PATCH/v2/projects/{project_id}/settings

Authorization

Bearer TokenRequired

Path Parameters

project_idstringRequired

The unique identifier of the project.

Request Body

The request body should be an object with setting keys and their new values.

Request
curl -X PATCH "https://api.botsubscription.com/v2/projects/YOUR_PROJECT_ID/settings" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "default_language": "en",
    "timezone_preference": "America/New_York",
    "collect_email_on_subscribe": true
  }'
Settings updatedapplication/json

No response body is returned on successful update.

Last updated: