Create a shared token filter
POST/v1/shared-tokens/filters
Creates a new shared token filter.
Note: This endpoint requires permissions that must be set by our Support team. Please email help@logz.io for assistance. Please ensure to change the region in the URL to match your account's region.
Request
- application/json
Body
ID of the shared token filter
Possible values: Value must match regular expression ^[a-zA-Z0-9_@.-]+$
The field to filter
Possible values: Value must match regular expression ^[a-zA-Z0-9_@.-]+$
The filter query
Name of the filter
Responses
- 200
- 400
- 403
successful operation
- application/json
- Schema
- Example (from schema)
Schema
ID of the shared token filter
Possible values: Value must match regular expression ^[a-zA-Z0-9_@.-]+$
The field to filter
Possible values: Value must match regular expression ^[a-zA-Z0-9_@.-]+$
The filter query
Name of the filter
{
"id": 339,
"field": "string",
"value": "string",
"description": "503 responses"
}
not found
- application/json
- Schema
- Example (from schema)
Schema
The shared token or query filter could not be found
{
"message": "token with id 12345 not found for account 54321"
}
forbidden
- application/json
- Schema
- Example (from schema)
Schema
Insufficient privileges. Contact our Support team for access to this API feature.
{
"message": "Insufficient privileges"
}