---
title: Okta Integration
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > API Reference > Okta Integration
---

# Okta Integration
Copy pageCopied
Configure your [Datadog Okta integration](https://docs.datadoghq.com/integrations/okta.md) directly through the Datadog API.

## List Okta accounts →{% #list-okta-accounts %}

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

## Add Okta account →{% #add-okta-account %}

| Datadog site      | API endpoint                                                         |
| ----------------- | -------------------------------------------------------------------- |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/integrations/okta/accounts |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/integrations/okta/accounts |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/integrations/okta/accounts      |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/integrations/okta/accounts      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/integrations/okta/accounts  |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/integrations/okta/accounts     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/integrations/okta/accounts |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/integrations/okta/accounts |

## Get Okta account →{% #get-okta-account %}

| Datadog site      | API endpoint                                                                     |
| ----------------- | -------------------------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/integrations/okta/accounts/{account_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/integrations/okta/accounts/{account_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/integrations/okta/accounts/{account_id}      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/integrations/okta/accounts/{account_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/integrations/okta/accounts/{account_id}  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/integrations/okta/accounts/{account_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/integrations/okta/accounts/{account_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/integrations/okta/accounts/{account_id} |

## Update Okta account →{% #update-okta-account %}

| Datadog site      | API endpoint                                                                       |
| ----------------- | ---------------------------------------------------------------------------------- |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/integrations/okta/accounts/{account_id} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/integrations/okta/accounts/{account_id} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/integrations/okta/accounts/{account_id}      |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/integrations/okta/accounts/{account_id}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/integrations/okta/accounts/{account_id}  |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/integrations/okta/accounts/{account_id}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/integrations/okta/accounts/{account_id} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/integrations/okta/accounts/{account_id} |

## Delete Okta account →{% #delete-okta-account %}

| Datadog site      | API endpoint                                                                        |
| ----------------- | ----------------------------------------------------------------------------------- |
| ap1.datadoghq.com | DELETE https://api.ap1.datadoghq.com/api/v2/integrations/okta/accounts/{account_id} |
| ap2.datadoghq.com | DELETE https://api.ap2.datadoghq.com/api/v2/integrations/okta/accounts/{account_id} |
| app.datadoghq.eu  | DELETE https://api.datadoghq.eu/api/v2/integrations/okta/accounts/{account_id}      |
| app.ddog-gov.com  | DELETE https://api.ddog-gov.com/api/v2/integrations/okta/accounts/{account_id}      |
| us2.ddog-gov.com  | DELETE https://api.us2.ddog-gov.com/api/v2/integrations/okta/accounts/{account_id}  |
| app.datadoghq.com | DELETE https://api.datadoghq.com/api/v2/integrations/okta/accounts/{account_id}     |
| us3.datadoghq.com | DELETE https://api.us3.datadoghq.com/api/v2/integrations/okta/accounts/{account_id} |
| us5.datadoghq.com | DELETE https://api.us5.datadoghq.com/api/v2/integrations/okta/accounts/{account_id} |
