Discussions
/discussions/:discussionId/comments/:commentId
Changed onDelete a comment.
Only the author can delete. An author who no longer has asset.canManageDiscussions can no longer delete. The response is 204 with no body.
Deleting the last comment deletes the discussion. A later read of that discussion is 404. Polling the comment list cannot detect the delete.
Requires the comments.write OAuth scope.
delete/v1/discussions/{discussionId}/comments/{commentId}
Request
- Base URLapi.air.inc (relative, and the document’s source URL is not known)
- Auth
- API key in header x-api-key and API key in header x-air-workspace-id
- or HTTP bearer and API key in header x-air-workspace-id
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Comment deleted. No response body.
Changes
- info
endpoint added
- info