Logs Archives

List read roles for an archive

Returns all read roles a given archive is restricted to.

get/api/v2/logs/config/archives/{archive_id}/readers

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/logs/config/archives/{archive_id}/readers
  • Auth
    API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY

Path parameters

archive_idstring required

The ID of the archive.

Response

OK

Example response

{
  "data": [
    {
      "relationships": {
        "permissions": {
          "data": [
            {
              "type": "permissions"
            }
          ]
        }
      },
      "type": "roles"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.