v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Logs Restriction Queries

Grant role to a restriction query

Adds a role to a restriction query.

Note: This operation automatically grants the logs_read_data permission to the role if it doesn't already have it.

post/api/v2/logs/config/restriction_queries/{restriction_query_id}/roles

Path parameters

restriction_query_idstring required

The ID of the restriction query.

Request body

Example request

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

Response

OK