Logs Archives

Grant role to an archive

Adds a read role to an archive. (Roles API)

post/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.

Request body

Example request

{
  "data": {
    "id": "3653d3c6-0c75-11ea-ad28-fb5701eabc7d",
    "type": "roles"
  }
}

Response

OK

Changes

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