---
title: "Set isDoNotDispatch value for providers"
method: POST
path: "/providers/updateDispatchSetting"
tags: ["Providers"]
---

# Set isDoNotDispatch value for providers

`POST /providers/updateDispatchSetting`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/providers/updateDispatchSetting`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/providers/updateDispatchSetting/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- ServiceChannelServicesWebApiModelsUpdateDispatchSettingModel: The model for update isDoNotDispatch value for providers.
  - `SubscriberId` integer: The id of a calling subscriber. This id is the one who sets isDoNotDispatch value or is an aggregator of other subscribers. If it is the aggregator then subscriberId and subscriberIds from SubscriberProviders pairs do not match.
  - `DoNotDispatch` boolean: The flag to set isDoNotDispatch value for providers.
  - `SubscriberIdProviderIds` ServiceChannelServicesWebApiModelsSubscriberIdProviderIdsPair[]: The list of pairs subscriber and providers to set isDoNotDispatch value.
    - `SubscriberId` integer
    - `ProviderIds` integer[]

## Response `200`

OK

- SystemObject

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
