## Updated Demand Source Body

### Config

**object | null**  
JSON defining the configuration values for this Demand Source.

- **config**  
  object | null

- **demand_partner_id**  
  uuid  
  required  
  Demand Partner Id that this Demand Source refers to.

- **enabled**  
  boolean  
  required  
  Is this Demand Source enabled (e.g. should Relay send requests to it or not)

- **name**  
  string  
  required  
  Name of the Demand Source.

### Response

#### 200 Demand Source Stored Successfully

**object**

- **account_id**  
  uuid  
  required

- **config**  
  object | null  
  Has additional fields

- **demand_partner_id**  
  uuid  
  required

- **enabled**  
  boolean  
  required

- **id**  
  uuid  
  required

- **name**  
  string  
  required

---

### Example Command

```shell
curl --request POST \
     --url https://api.relay.bid/m/v1/demand_source \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"enabled":true}'
```

### Example Response

```json
{
  "id": "000",
  "account_id": "000",
  "name": "asdf",
  "config": "sasf",
  "demand_partner_id": "asdf",
  "enabled": "asdf"
}
```
