Stitchflow
Datadog logo

Datadog User Management API Guide

API workflow

How to automate user lifecycle operations through APIs with caveats that matter in production.

UpdatedMar 9, 2026

Summary and recommendation

Datadog's user management API is v2-only; v1 has no user CRUD endpoints. Authentication requires both a DD-API-KEY and a DD-APPLICATION-KEY passed as HTTP headers on every request. Application keys should be scoped to the minimum required permission - user_access_read for read operations, user_access_manage for create/update/disable, and org_management for select org-level calls.

EU orgs must swap the base URL to https://api.datadoghq.eu/api/v2; US1-FED uses https://api.ddog-gov.com/api/v2. Rate limits on user endpoints run approximately 300 requests per hour; HTTP 429 is returned on breach with no Retry-After header - consume X-RateLimit-Reset instead.

API quick reference

Has user APIYes
Auth methodAPI Key + Application Key (passed as headers DD-API-KEY and DD-APPLICATION-KEY). Scoped application keys supported for least-privilege access.
Base URLOfficial docs
SCIM availableYes
SCIM plan requiredInfrastructure Pro or Enterprise (SAML SSO prerequisite required)

Authentication

Auth method: API Key + Application Key (passed as headers DD-API-KEY and DD-APPLICATION-KEY). Scoped application keys supported for least-privilege access.

Setup steps

  1. Log in to Datadog and navigate to Organization Settings > API Keys to create an API key.
  2. Navigate to Organization Settings > Application Keys to create an application key.
  3. Optionally scope the application key to specific permissions (e.g., user_access_manage) for least-privilege.
  4. Pass DD-API-KEY and DD-APPLICATION-KEY as HTTP headers on every request.
  5. For EU region, use base URL https://api.datadoghq.eu/api/v2 instead.

Required scopes

Scope Description Required for
user_access_read Read user and role data List users, get user details
user_access_manage Create, update, disable, and delete users; manage roles Create user, update user, disable user, send invite
org_management Manage organization-level settings Some org-level user operations

User object / data model

Field Type Description On create On update Notes
id string (UUID) Unique identifier for the user system-generated immutable Used as path parameter for get/update/disable operations
attributes.name string Full display name of the user optional writable
attributes.email string User's email address; used as login identifier required writable Must be unique within the org
attributes.handle string Datadog handle (typically same as email) system-generated from email read-only
attributes.title string Job title of the user optional writable
attributes.disabled boolean Whether the user account is disabled defaults to false writable via disable endpoint Use the dedicated disable endpoint rather than PATCH
attributes.verified boolean Whether the user has verified their email false until invite accepted read-only
attributes.service_account boolean Whether the user is a service account optional read-only
attributes.created_at string (ISO 8601) Timestamp when the user was created system-generated read-only
attributes.status string User status: Active, Pending, or Disabled Pending until invite accepted read-only
relationships.roles array of role resource linkages Roles assigned to the user optional managed via roles endpoints Use /api/v2/roles/{role_id}/users to assign/remove
relationships.org object Organization the user belongs to inferred from API key org read-only

Core endpoints

List users

  • Method: GET
  • URL: https://api.datadoghq.com/api/v2/users
  • Watch out for: filter param searches by email/name substring. Disabled users are excluded by default; use filter[status]=Disabled to include them.

Request example

GET /api/v2/users?page[size]=25&filter=john
DD-API-KEY: <key>
DD-APPLICATION-KEY: <appkey>

Response example

{
  "data": [{"id":"uuid","type":"users","attributes":{"email":"john@example.com","name":"John","disabled":false}}],
  "meta":{"page":{"total_count":1}}
}

Get user

  • Method: GET
  • URL: https://api.datadoghq.com/api/v2/users/{user_id}
  • Watch out for: user_id must be the UUID, not the email handle.

Request example

GET /api/v2/users/00000000-0000-0000-0000-000000000001
DD-API-KEY: <key>
DD-APPLICATION-KEY: <appkey>

Response example

{
  "data":{"id":"00000000-...","type":"users",
    "attributes":{"email":"jane@example.com","name":"Jane","verified":true,"disabled":false}}
}

Create user

  • Method: POST
  • URL: https://api.datadoghq.com/api/v2/users
  • Watch out for: Creating a user sends an invitation email automatically. User status is Pending until they accept. Duplicate email returns 409.

Request example

POST /api/v2/users
Content-Type: application/json
{
  "data":{"type":"users",
    "attributes":{"email":"new@example.com","name":"New User","title":"Engineer"}}
}

Response example

{
  "data":{"id":"uuid-new","type":"users",
    "attributes":{"email":"new@example.com","status":"Pending","verified":false}}
}

Update user

  • Method: PATCH
  • URL: https://api.datadoghq.com/api/v2/users/{user_id}
  • Watch out for: id must be included in the request body as well as the URL path. Email cannot be changed via PATCH after creation.

Request example

PATCH /api/v2/users/uuid-new
Content-Type: application/json
{
  "data":{"id":"uuid-new","type":"users",
    "attributes":{"name":"Updated Name","title":"Senior Engineer"}}
}

Response example

{
  "data":{"id":"uuid-new","type":"users",
    "attributes":{"name":"Updated Name","title":"Senior Engineer"}}
}

Disable user

  • Method: DELETE
  • URL: https://api.datadoghq.com/api/v2/users/{user_id}
  • Watch out for: This disables (deactivates) the user, not a hard delete. The user record is retained. Disabled users still count toward billing until the next billing cycle in some plans.

Request example

DELETE /api/v2/users/uuid-new
DD-API-KEY: <key>
DD-APPLICATION-KEY: <appkey>

Response example

HTTP 204 No Content

Send user invitation

  • Method: POST
  • URL: https://api.datadoghq.com/api/v2/user_invitations
  • Watch out for: Invitation is sent automatically on user creation; use this endpoint to resend. Invitations expire after a set period.

Request example

POST /api/v2/user_invitations
{
  "data":[{"type":"user_invitations",
    "relationships":{"user":{"data":{"type":"users","id":"uuid-new"}}}}]
}

Response example

{
  "data":[{"type":"user_invitations","id":"inv-uuid",
    "attributes":{"invite_type":"new_user","created_at":"2024-01-01T00:00:00Z"}}]
}

List user permissions

  • Method: GET
  • URL: https://api.datadoghq.com/api/v2/users/{user_id}/permissions
  • Watch out for: Returns effective permissions derived from all assigned roles. Does not show role assignments directly; use /api/v2/roles for that.

Request example

GET /api/v2/users/uuid-new/permissions
DD-API-KEY: <key>
DD-APPLICATION-KEY: <appkey>

Response example

{
  "data":[{"type":"permissions","id":"perm-uuid",
    "attributes":{"name":"logs_read_data","display_name":"Logs Read Data"}}]
}

List roles

  • Method: GET
  • URL: https://api.datadoghq.com/api/v2/roles
  • Watch out for: Use role IDs from this endpoint to assign roles via POST /api/v2/roles/{role_id}/users.

Request example

GET /api/v2/roles?page[size]=10
DD-API-KEY: <key>
DD-APPLICATION-KEY: <appkey>

Response example

{
  "data":[{"id":"role-uuid","type":"roles",
    "attributes":{"name":"Datadog Admin Role","user_count":5}}]
}

Rate limits, pagination, and events

  • Rate limits: Datadog enforces per-endpoint rate limits. User management endpoints fall under the general API rate limit tier. Limits are returned in response headers.
  • Rate-limit headers: Yes
  • Retry-After header: No
  • Rate-limit notes: Headers X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and X-RateLimit-Period are returned. When limit is exceeded, HTTP 429 is returned. Retry after the reset period indicated in X-RateLimit-Reset.
  • Pagination method: cursor
  • Default page size: 10
  • Max page size: 100
  • Pagination pointer: page[number] and page[size]; cursor-based via page[cursor] for some endpoints
Plan Limit Concurrent
All plans 300 requests per hour per endpoint (user endpoints); varies by endpoint 0
  • Webhooks available: No
  • Webhook notes: Datadog does not provide native webhooks for user lifecycle events (create, update, disable). Datadog Webhooks integration is for outbound alerting/monitoring notifications, not user management events.
  • Alternative event strategy: Poll the List Users endpoint periodically, or use SCIM provisioning with an IdP (Okta, Azure AD) to manage user lifecycle events from the IdP side.

SCIM API status

  • SCIM available: Yes

  • SCIM version: 2.0

  • Plan required: Infrastructure Pro or Enterprise (SAML SSO prerequisite required)

  • Endpoint: https://app.datadoghq.com/api/v2/scim

  • Supported operations: GET /Users – list users, GET /Users/{id} – get user, POST /Users – create/provision user, PATCH /Users/{id} – update user attributes, DELETE /Users/{id} – deprovision (disable) user, GET /Groups – list groups (teams), POST /Groups – create group, PATCH /Groups/{id} – update group membership, DELETE /Groups/{id} – delete group

Limitations:

  • Requires SAML SSO to be configured before enabling SCIM
  • Datadog strongly recommends disabling SAML JIT provisioning when SCIM is active to avoid conflicts
  • SCIM token is a long-lived bearer token generated in Datadog org settings; rotate manually
  • Only Okta and Azure AD (Entra ID) are officially documented as IdP integrations
  • SCIM Groups map to Datadog Teams; not all team features are fully manageable via SCIM
  • Available on Infrastructure Pro and Enterprise plans; not available on free or lower tiers

Common scenarios

Three scenarios cover the majority of programmatic user management needs.

Provisioning a new user requires a POST to /api/v2/users (invitation email fires automatically), capturing the returned UUID, then a separate POST to /api/v2/roles/{role_id}/users - role assignment is never atomic with user creation, so a failed role call leaves the user defaulting to the Standard Role.

Bulk-disabling departed users requires paginating GET /api/v2/users (max page size 100, cursor-based), cross-referencing UUIDs against an offboarding list, then calling DELETE /api/v2/users/{user_id} per user - this is a soft disable, not a hard delete, and rate limits require deliberate pacing for large batches.

For teams maintaining an identity graph across their SaaS stack, the /api/v2/users and /api/v2/roles endpoints provide structured user-role-permission data needed to map Datadog access into a unified identity model.

SCIM provisioning via Okta or Entra ID offloads the lifecycle loop entirely but requires SAML SSO active, a SCIM token generated in org settings, and SAML JIT disabled before the first sync.

Provision a new user and assign a role

  1. POST /api/v2/users with email, name, and title to create the user (invitation email sent automatically).
  2. Capture the returned user id (UUID) from the response.
  3. GET /api/v2/roles to find the target role UUID by name.
  4. POST /api/v2/roles/{role_id}/users with body {data: [{type: users, id: }]} to assign the role.
  5. Optionally GET /api/v2/users/{user_id}/permissions to verify effective permissions.

Watch out for: Role assignment is a separate API call; there is no atomic create-and-assign-role operation. If the role assignment fails, the user exists but has no custom role (defaults to Datadog Standard Role).

Bulk-disable departed users

  1. GET /api/v2/users?page[size]=100 and paginate through all users to build a local list.
  2. Cross-reference with your HR/IdP offboarding list to identify user UUIDs to disable.
  3. For each user UUID, call DELETE /api/v2/users/{user_id} to disable the account.
  4. Verify by calling GET /api/v2/users/{user_id} and confirming attributes.disabled is true.

Watch out for: Respect the rate limit of ~300 requests/hour for user endpoints. Add delay between requests if disabling large batches. Disabled users are not hard-deleted and remain visible with filter[status]=Disabled.

Set up SCIM provisioning with Okta

  1. Ensure SAML SSO is configured and active in Datadog org settings (prerequisite).
  2. In Datadog, navigate to Organization Settings > SCIM and generate a SCIM API token.
  3. In Okta, add the Datadog application from the Okta Integration Network.
  4. In the Okta app Provisioning tab, set SCIM connector base URL to https://app.datadoghq.com/api/v2/scim and authenticate with the generated token.
  5. Enable Provisioning features: Push New Users, Push Profile Updates, Push Groups, Deactivate Users.
  6. Disable SAML JIT provisioning in Datadog to prevent conflicts with SCIM.
  7. Assign users/groups in Okta to trigger initial provisioning sync.

Watch out for: If SAML JIT is left enabled alongside SCIM, user attributes may be overwritten on each SSO login, causing conflicts with SCIM-managed attributes. Datadog explicitly recommends disabling JIT when SCIM is active.

Why building this yourself is a trap

Several non-obvious behaviors create integration risk. The DELETE /api/v2/users/{user_id} endpoint disables the user record - it does not hard-delete it - and disabled users are excluded from list results unless filter[status]=Disabled is explicitly passed, meaning any identity graph pipeline that omits this filter will silently produce an incomplete user population.

Application keys created by a user are not revoked on disable and are not surfaced by the user API, requiring a separate audit loop. SCIM and the REST user API can conflict when both are active: changes made via REST may be overwritten by the next IdP sync cycle.

Finally, roles must always be assigned in a second API call after user creation; there is no atomic create-and-assign operation.

Automate Datadog workflows without one-off scripts

Stitchflow builds and maintains end-to-end IT automation across your SaaS stack, including apps without APIs. Built for exactly how your company works, with human approvals where they matter.

Every app coverage, including apps without APIs
60+ app integrations plus browser automation for apps without APIs
IT graph reconciliation across apps and your IdP
Less than a week to launch, maintained as APIs and admin consoles change
SOC 2 Type II. ~2 hours of your team's time

UpdatedMar 9, 2026

* Details sourced from official product documentation and admin references.

Keep exploring

Related apps

15Five logo

15Five

Full API + SCIM
AutomationAPI + SCIM
Last updatedFeb 2026

15Five uses a fixed role-based permission model with six predefined roles: Account Admin, HR Admin, Billing Admin, Group Admin, Manager, and Employee. No custom roles can be constructed. User management lives at Settings gear → People → Manage people p

1Password logo

1Password

Full API + SCIM
AutomationAPI + SCIM
Last updatedFeb 2026

1Password's admin console at my.1password.com covers the full user lifecycle — invitations, group assignments, vault access, suspension, and deletion — without any third-party tooling. Like every app that mixes role-based and resource-level permissions

8x8 logo

8x8

Full API + SCIM
AutomationAPI + SCIM
Last updatedFeb 2026

8x8 Admin Console supports full lifecycle user management — create, deactivate, and delete — across its X Series unified communications platform. Every app a user can access (8x8 Work desktop, mobile, web, Agent Workspace) is gated by license assignmen