# Master data Objects

It is possible to activate and deactivate any Master Data object. A new property has been added for this purpose, **isObjectActive.**

To deactivate an object the following JSON has to be used in the PUT method:

<table data-header-hidden><thead><tr><th></th></tr></thead><tbody><tr><td><pre><code>{
	"isObjectActive": false
}
</code></pre></td></tr></tbody></table>

\
To activate an object the following JSON has to be used in the PUT method:

<table data-header-hidden><thead><tr><th></th></tr></thead><tbody><tr><td><pre><code>{
	"isObjectActive": true
}
</code></pre></td></tr></tbody></table>

Master Data objects has to be deactivated before they can be deleted.

{% hint style="info" %}
Deactivated objects are not included in standard Master Data list query results. To work with these objects:

#### Retrieving Deactivated Objects

* **Via List Query**: To retrieve deactivated objects in a list query, add the filter parameter `isObjectActive(EQ)false` to your request.
* **Via Direct Access**: Individual deactivated objects remain accessible by their unique key, regardless of activation status.

#### Example using BusinessPartner master data object

```
// Standard query - returns only active business partners
GET /BusinessPartner

// Query deactivated business partners
GET /BusinessPartner?filter=isObjectActive(EQ)false

// Retrieving specific deactivated business partner by key
GET /BusinessPartner/{objectKey}
```

{% endhint %}
