Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 84 additions & 0 deletions api-reference/beta/api/customdatacontainer-delete-definitions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
---
title: "Retire customObjectDefinition"
description: "Delete a customObjectDefinition object."
author: "biodero"
ms.date: 09-22-2026
ms.localizationpriority: medium
ms.subservice: "entra-id-governance"
doc_type: apiPageType
---

# Retire customObjectDefinition

Namespace: microsoft.graph

[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]

Retire a customObjectDefinition object. Retiring a definition prevents future instances but retains existing instances and tombstones.

## Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).

<!-- {
"blockType": "permissions",
"name": "customdatacontainer-delete-definitions-permissions"
}
-->
[!INCLUDE [permissions-table](../includes/permissions/customdatacontainer-delete-definitions-permissions.md)]

## HTTP request

<!-- {
"blockType": "ignored"
}
-->
``` http
DELETE /identityGovernance/customData/definitions/{definitionId}
DELETE /identityGovernance/customData/definitions('{definitionId}')
DELETE /identityGovernance/customData/definitions(objectType='{objectType}')
```

## Request headers

|Name|Description|
|:---|:---|
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
|If-Match|Current ETag. Required.|

## Request body

Don't supply a request body for this method.

## Response

If successful, this method returns a `204 No Content` response code.

## Examples

### Request

The following example shows a request.
<!-- {
"blockType": "request",
"name": "delete_customobjectdefinition"
}
-->
``` http
DELETE https://graph.microsoft.com/beta/identityGovernance/customData/definitions/1f9e2d04-bc62-49f8-ae15-4b5de0d1bca1
If-Match: W/"definition-etag-2"
```


### Response

The following example shows the response.
>**Note:** The response object shown here might be shortened for readability.
<!-- {
"blockType": "response",
"truncated": true
}
-->
``` http
HTTP/1.1 204 No Content
```
83 changes: 83 additions & 0 deletions api-reference/beta/api/customdatacontainer-delete-objects.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
---
title: "Retire customObject"
description: "Delete a customObject object."
author: "biodero"
ms.date: 09-22-2026
ms.localizationpriority: medium
ms.subservice: "entra-id-governance"
doc_type: apiPageType
---

# Retire customObject

Namespace: microsoft.graph

[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]

Retire a customObject object.

## Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).

<!-- {
"blockType": "permissions",
"name": "customdatacontainer-delete-objects-permissions"
}
-->
[!INCLUDE [permissions-table](../includes/permissions/customdatacontainer-delete-objects-permissions.md)]

## HTTP request

<!-- {
"blockType": "ignored"
}
-->
``` http
DELETE /identityGovernance/customData/objects/{objectId}
DELETE /identityGovernance/customData/objects('{objectId}')
```

## Request headers

|Name|Description|
|:---|:---|
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
|If-Match|Current ETag. Required.|

## Request body

Don't supply a request body for this method.

## Response

If successful, this method returns a `204 No Content` response code.

## Examples

### Request

The following example shows a request.
<!-- {
"blockType": "request",
"name": "delete_customobject"
}
-->
``` http
DELETE https://graph.microsoft.com/beta/identityGovernance/customData/objects/b20fd2d9-79e3-4d26-8a03-3ca2e57e6a33
If-Match: W/"def456"
```


### Response

The following example shows the response.
>**Note:** The response object shown here might be shortened for readability.
<!-- {
"blockType": "response",
"truncated": true
}
-->
``` http
HTTP/1.1 204 No Content
```
97 changes: 97 additions & 0 deletions api-reference/beta/api/customdatacontainer-list-definitions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
---
title: "List customObjectDefinition objects"
description: "Get a list of the customObjectDefinition objects and their properties."
author: "biodero"
ms.date: 09-22-2026
ms.localizationpriority: medium
ms.subservice: "entra-id-governance"
doc_type: apiPageType
---

# List customObjectDefinition objects

Namespace: microsoft.graph

[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]

Get a list of the customObjectDefinition objects and their properties.

## Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).

<!-- {
"blockType": "permissions",
"name": "customdatacontainer-list-definitions-permissions"
}
-->
[!INCLUDE [permissions-table](../includes/permissions/customdatacontainer-list-definitions-permissions.md)]

## HTTP request

<!-- {
"blockType": "ignored"
}
-->
``` http
GET /identityGovernance/customData/definitions
```

## Optional query parameters

This method supports `$select`, `$top`, and `$skiptoken`. The default response includes only **id** and **displayName**. Use `$select` to request one or more of `id`, `displayName`, `objectType`, `description`, `fields`, `createdDateTime`, and `lastModifiedDateTime`. An unsupported or empty `$select` returns `400 Bad Request`. This method doesn't support `$filter`, `$orderby`, `$count`, `$expand`, `$search`, or `$skip`. Pagination preserves the selection and `$top` value.

## Request headers

|Name|Description|
|:---|:---|
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|

## Request body

Don't supply a request body for this method.

## Response

If successful, this method returns a `200 OK` response code and a collection of [customObjectDefinition](../resources/customobjectdefinition.md) objects in the response body.

## Examples

### Request

The following example shows a request.
<!-- {
"blockType": "request",
"name": "list_customobjectdefinition"
}
-->
``` http
GET https://graph.microsoft.com/beta/identityGovernance/customData/definitions?$top=50
```


### Response

The following example shows the response.
>**Note:** The response object shown here might be shortened for readability.
<!-- {
"blockType": "response",
"truncated": true,
"@odata.type": "microsoft.graph.customObjectDefinition"
}
-->
``` http
HTTP/1.1 200 OK
Content-Type: application/json

{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#identityGovernance/customData/definitions(id,displayName)",
"value": [
{
"@odata.type": "#microsoft.graph.customObjectDefinition",
"id": "1f9e2d04-bc62-49f8-ae15-4b5de0d1bca1",
"displayName": "Department"
}
]
}
```
107 changes: 107 additions & 0 deletions api-reference/beta/api/customdatacontainer-list-objects.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
---
title: "List customObject objects"
description: "Get a list of the customObject objects and their properties."
author: "biodero"
ms.date: 09-22-2026
ms.localizationpriority: medium
ms.subservice: "entra-id-governance"
doc_type: apiPageType
---

# List customObject objects

Namespace: microsoft.graph

[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]

Get a list of the customObject objects and their properties.

## Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).

<!-- {
"blockType": "permissions",
"name": "customdatacontainer-list-objects-permissions"
}
-->
[!INCLUDE [permissions-table](../includes/permissions/customdatacontainer-list-objects-permissions.md)]

## HTTP request

<!-- {
"blockType": "ignored"
}
-->
``` http
GET /identityGovernance/customData/objects
```

## Optional query parameters

This method requires `$filter=definitionId eq '{guid}'`. You can append exactly one `and customProperties/{fieldName} eq {typedLiteral}` clause for an **isFilterable** field. This method supports `$top` and `$skiptoken`; it doesn't support `$select`, `$orderby`, `$count`, `$expand`, `$search`, or `$skip`. Pagination preserves the filter and `$top` value.

## Request headers

|Name|Description|
|:---|:---|
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|

## Request body

Don't supply a request body for this method.

## Response

If successful, this method returns a `200 OK` response code and a collection of [customObject](../resources/customobject.md) objects in the response body.

## Examples

### Request

The following example shows a request.
<!-- {
"blockType": "request",
"name": "list_customobject"
}
-->
``` http
GET https://graph.microsoft.com/beta/identityGovernance/customData/objects?$filter=definitionId eq '1f9e2d04-bc62-49f8-ae15-4b5de0d1bca1' and customProperties/code eq 'ENG'&$top=50
client-request-id: 8f2f5b78-4e33-45c7-9d57-8a7df6bb6f31
```


### Response

The following example shows the response.
>**Note:** The response object shown here might be shortened for readability.
<!-- {
"blockType": "response",
"truncated": true,
"@odata.type": "microsoft.graph.customObject"
}
-->
``` http
HTTP/1.1 200 OK
Content-Type: application/json

{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#identityGovernance/customData/objects",
"value": [
{
"@odata.type": "#microsoft.graph.customObject",
"@odata.etag": "W/\"abc123\"",
"id": "b20fd2d9-79e3-4d26-8a03-3ca2e57e6a33",
"definitionId": "1f9e2d04-bc62-49f8-ae15-4b5de0d1bca1",
"displayName": "Engineering",
"customProperties": {
"code": "ENG",
"name": "Engineering",
"costCenter": "CC-1001"
},
"createdDateTime": "2026-07-10T00:00:00Z",
"lastModifiedDateTime": "2026-07-10T00:00:00Z"
}
]
}
```
Loading
Loading