Skip to main content
POST
Ignore the next logs about a target

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

guild_id
string
required

The server's ID. Must be the server the token was created for.

Pattern: ^\d{17,20}$
Example:

"301655085954367490"

Query Parameters

bot
enum<string>

Set to pro to act on the Quark Pro bot's configuration. Leave out for the main Quark bot.

Available options:
pro

Body

application/json
id
string
required

The ID of the target. For an invite, its code.

type
enum<integer>
required

What kind of thing id is. 0 member, 1 channel, 2 emoji, 3 server, 4 invite, 5 none, 6 message, 7 role, 8 thread, 9 user, 10 stage, 11 event, 12 webhook, 13 sticker. A log matches when it has a target of this kind with this ID. A deleted message, for example, has the message (6) as a target.

Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13
logType
integer

Only ignore logs of this type. Leave it out to ignore a log of any type that is not protected. Naming a protected log type needs an Admin token. See the log types page.

Required range: x >= 0
count
number
default:1

How many logs to leave out, 100 at most. A fraction is rounded up before the limit is applied.

Required range: x <= 100
time
number
default:10

How long the request lasts, in seconds. A fraction is rounded up. Anything over 300 is shortened to 300 (five minutes).

Response

Accepted. The request is stored and Quark leaves out the next matching logs.

An empty object.