Skip to content

datadog disable-user

Disable a user

Description

Disable a user

Synopsis

datadog disable-user
    [--site <site>]
    <user>

Arguments

site - (string)

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

user - (string)

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

Examples

Input:

!datadog disable-user  "141af100-efaa-4a9f-b1f0-4fc92058d441"
Output:
ID                                      NAME    EMAIL           TITLE   STATUS  VERIFIED    DISABLED
141af100-efaa-4a9f-b1f0-4fc92058d441    test    test@test.com   test    Pending false       false

Access Control

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

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

Please see Access Control for details.