Delete the specified comment
Changed onDelete the specified comment. Defaults to soft deletion.
Request
- Base URLhttps://example.com/api
- Auth
- OAuth 2Authorization codehttps://example.com/oauth2/authorizeToken URLhttps://example.com/api/oauth2/tokenScopesmedia:write
- or API key in header XF-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Response
OK
Changes
- breaking
the
response's property type changed fromstringtobooleanfor status - warning
deleted the
pathrequest parameterid - info
api operation id
delete_media_comments_id_removed and replaced withdeleteMediaCommentsId - info
the endpoint scheme security
XF-Api-Keywas added to the API - info
the endpoint scheme security
XF-OAuth2was added to the API - info
added the new optional
headerrequest parameterXF-Api-Userto all path's operations - info
added the new optional
queryrequest parameterapi_bypass_permissionsto all path's operations
- breaking
- info
api tag
Media commentsadded - info
api tag
media-commentsremoved - info
added the new optional
queryrequest parameterauthor_alert - info
added the new optional
queryrequest parameterauthor_alert_reason - info
added the new optional
queryrequest parameterhard_delete - info
added the new optional
queryrequest parameterreason - info
added the media type
application/jsonfor the response with the status
- info