---
title: Network Device Monitoring
description: L'API Network Device Monitoring vous permet de récupérer des périphériques, des interfaces et leurs attributs.
breadcrumbs: Documentation > API > Network Device Monitoring
---

> For the complete documentation index, see [llms.txt](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/llms.txt).

# Network Device Monitoring

L'API Network Device Monitoring vous permet de récupérer des périphériques, des interfaces et leurs attributs. Consultez la [page Network Device Monitoring](https://docs.datadoghq.com/network_monitoring.md) pour plus d'informations.

## [Récupérer la liste des appareils](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/fr/api/latest/network-device-monitoring/get-the-list-of-devices.md)

| Datadog site      | API endpoint                                         |
| ----------------- | ---------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/ndm/devices     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/ndm/devices |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/ndm/devices |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/ndm/devices      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/ndm/devices |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/ndm/devices |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/ndm/devices |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/ndm/devices      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/ndm/devices  |

## [Récupérer les détails d'un appareil](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/fr/api/latest/network-device-monitoring/get-the-device-details.md)

| Datadog site      | API endpoint                                                     |
| ----------------- | ---------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/ndm/devices/{device_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/ndm/devices/{device_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/ndm/devices/{device_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/ndm/devices/{device_id}      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/ndm/devices/{device_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/ndm/devices/{device_id} |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/ndm/devices/{device_id} |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/ndm/devices/{device_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/ndm/devices/{device_id}  |

## [Récupérer la liste des interfaces de l'appareil](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/fr/api/latest/network-device-monitoring/get-the-list-of-interfaces-of-the-device.md)

| Datadog site      | API endpoint                                            |
| ----------------- | ------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/ndm/interfaces     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/ndm/interfaces |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/ndm/interfaces |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/ndm/interfaces      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/ndm/interfaces |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/ndm/interfaces |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/ndm/interfaces |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/ndm/interfaces      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/ndm/interfaces  |

## [Récupérer la liste des tags d'un dispositif](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/fr/api/latest/network-device-monitoring/get-the-list-of-tags-for-a-device.md)

| Datadog site      | API endpoint                                                          |
| ----------------- | --------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/ndm/tags/devices/{device_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/ndm/tags/devices/{device_id}      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/ndm/tags/devices/{device_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/ndm/tags/devices/{device_id}  |

## [Mettre à jour les tags d'un appareil](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/fr/api/latest/network-device-monitoring/update-the-tags-for-a-device.md)

| Datadog site      | API endpoint                                                            |
| ----------------- | ----------------------------------------------------------------------- |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/ndm/tags/devices/{device_id}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/ndm/tags/devices/{device_id}      |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| uk1.datadoghq.com | PATCH https://api.uk1.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/ndm/tags/devices/{device_id}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/ndm/tags/devices/{device_id}  |

## [Énumérer les tags d'une interface](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/fr/api/latest/network-device-monitoring/list-tags-for-an-interface.md)

| Datadog site      | API endpoint                                                                |
| ----------------- | --------------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/ndm/tags/interfaces/{interface_id}      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/ndm/tags/interfaces/{interface_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/ndm/tags/interfaces/{interface_id}  |

## [Mettre à jour les tags d'une interface](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/fr/api/latest/network-device-monitoring/update-the-tags-for-an-interface.md)

| Datadog site      | API endpoint                                                                  |
| ----------------- | ----------------------------------------------------------------------------- |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/ndm/tags/interfaces/{interface_id}      |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| uk1.datadoghq.com | PATCH https://api.uk1.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/ndm/tags/interfaces/{interface_id}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/ndm/tags/interfaces/{interface_id}  |
