Skip to content

datadog create-user

Create a user for your organization

Description

Create a user for your organization

Synopsis

datadog create-user
    [--site <site>]
    --email <email>
    [--name <name>]
    [--title <title>]
    [--role <role>]

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      Attributes: optional

email - (string)

     The email of the user
     Example: --email "email-1"
     Default: _None_      Attributes: required

name - (string)

     The name of the user
     Example: --name "name-1"
     Default: _None_      Attributes: optional

title - (string)

     The title of the user
     Example: --title "title-1"
     Default: _None_      Attributes: optional

role - (string)

     The unique identifier of the role
     Example: --role "role-1"
     Default: _None_      Attributes: optional, multiple allowed

Examples

Input:

!datadog create-user --email "test@test.com" --name "test" --title "test"
Output:
ID                                      NAME    EMAIL           TITLE   STATUS  VERIFIED    DISABLED
0520a320-9c76-11ed-92d3-aea0f4daabc7    test    tdest@test.com  test    Pending false       false

Access Control

To use this command, you need access to the following:

Field Value
Action "create"
Service Type "datadog"
Service Instance
Namespace
Object Type "user"
Object ID

Please see Access Control for details.