Skip to content

datadog revoke-role-archive

Removes a role from an archive

Description

Removes a role from an archive

Synopsis

datadog revoke-role-archive
    [--site <site>]
    [<archive>]
    [--role <role>]

Arguments

site - (string)

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

archive - (string)

     Archive ID
     Example: "archive-1"
     Default: _None_      Attributes: optional

role - (string)

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

Examples

datadog revoke-role-archive "archive-1" --role "role-1"

Access Control

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

Field Value
Action "update"
Service Type "datadog"
Service Instance
Namespace
Object Type "archive"
Object ID archive

Please see Access Control for details.