---
title: "Create a user"
method: POST
path: "/api/v1/user"
tags: ["Users"]
---

# Create a user

`POST /api/v1/user`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v1/user`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Create a user for your organization.

**Note**: Users can only be created with the admin access role
if application keys belong to administrators.

## Request body

- User: Create, edit, and disable users.
  - `access_role` 'st' | 'adm' | 'ro' | 'ERROR', nullable: The access role of the user. Options are **st** (standard user), **adm** (admin user), or **ro** (read-only user).
  - `disabled` boolean: The new disabled status of the user.
  - `email` string: The new email of the user.
  - `handle` string: The user handle, must be a valid email.
  - `icon` string: Gravatar icon associated to the user.
  - `name` string: The name of the user.
  - `verified` boolean: Whether or not the user logged in Datadog at least once.

## Response `200`

User created

- UserResponse: A Datadog User.
  - `user` User: Create, edit, and disable users.
    - `access_role` 'st' | 'adm' | 'ro' | 'ERROR', nullable: The access role of the user. Options are **st** (standard user), **adm** (admin user), or **ro** (read-only user).
    - `disabled` boolean: The new disabled status of the user.
    - `email` string: The new email of the user.
    - `handle` string: The user handle, must be a valid email.
    - `icon` string: Gravatar icon associated to the user.
    - `name` string: The name of the user.
    - `verified` boolean: Whether or not the user logged in Datadog at least once.

## Other responses

- `400`: Bad Request
- `403`: Authentication error
- `409`: Conflict
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v1-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v1-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v1-collection/revisions/ca5871004d26?raw)
