delete: tags: - topics summary: delete a topic description: This operation deletes an existing topic. parameters: - in: path name: tid schema: type: string required: true description: a valid topic id example: 1 responses: '200': description: Topic successfully deleted content: application/json: schema: type: object properties: status: $ref: ../../../components/schemas/Status.yaml#/Status response: type: object properties: {} put: tags: - topics summary: restore a topic description: This operation restores a topic. parameters: - in: path name: tid schema: type: string required: true description: a valid topic id example: 1 responses: '200': description: Topic successfully restored content: application/json: schema: type: object properties: status: $ref: ../../../components/schemas/Status.yaml#/Status response: type: object properties: {}