v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBLogs Restriction Queries
Replace a restriction query
Replace a restriction query.
put/api/v2/logs/config/restriction_queries/{restriction_query_id}
Path parameters
restriction_query_idstring required
The ID of the restriction query.
Request body
Example request
{
"data": {
"attributes": {
"restriction_query": "env:sandbox"
},
"type": "logs_restriction_queries"
}
}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"
}
}