You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
delete:
|
|
tags:
|
|
- flags
|
|
summary: delete a flag note
|
|
description: This operation deletes a shared note for a given flag. It is only available to privileged users (that is, moderators, global moderators, and administrators).
|
|
parameters:
|
|
- in: path
|
|
name: flagId
|
|
schema:
|
|
type: number
|
|
required: true
|
|
description: a valid flag id
|
|
example: 2
|
|
- in: path
|
|
name: datetime
|
|
schema:
|
|
type: number
|
|
required: true
|
|
description: A valid UNIX timestamp
|
|
example: 1626446956652
|
|
responses:
|
|
'200':
|
|
description: Flag note deleted
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
status:
|
|
$ref: ../../../../components/schemas/Status.yaml#/Status
|
|
response:
|
|
allOf:
|
|
- $ref: ../../../../components/schemas/FlagObject.yaml#/FlagNotesObject
|
|
- $ref: ../../../../components/schemas/FlagObject.yaml#/FlagHistoryObject |