v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBLogs Restriction Queries
Get restriction query for a given role
Get restriction query for a given role.
get/api/v2/logs/config/restriction_queries/role/{role_id}
Path parameters
role_idstring required
The ID of the role.
Response
OK
Example response
{
"data": [
{
"attributes": {
"created_at": "2020-03-17T21:06:44.000Z",
"last_modifier_email": "user@example.com",
"last_modifier_name": "John Doe",
"modified_at": "2020-03-17T21:15:15.000Z",
"restriction_query": "env:sandbox",
"role_count": 3,
"user_count": 5
},
"id": "79a0e60a-644a-11ea-ad29-43329f7f58b5",
"type": "logs_restriction_queries"
}
]
}