Social Feeds
Soft-delete a comment
Rate limit: 60 requests per 60 seconds. This is the default shared quota — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget.
Soft-deletes the authenticated user's own comment. Sets isDeleted=true and blanks message text and attachments. Replies are preserved and the parent post's totalCommentsAndReplies is decremented only by the deleted node.
delete/api/v1/posts/{postId}/comments/{commentId}
Request
- Base URLhttps://public-api.etoro.com
- AuthOAuth 2Authorization codeScopesetoro-public:feed:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
postIdstring uuid required
ID of the parent post (UUID)
commentIdstring uuid required
ID of the comment (UUID)
Headers
x-request-idstring uuid required
Example:35750576-f7ea-42ea-a5ee-dac0e305f0ed
A unique request identifier.
x-api-keystring password required
Example:lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663
API key for authentication.
x-user-keystring password required
Example:eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_
User-specific authentication key.
Response
Comment deleted successfully
Changes
No recorded changes to this operation across all 1 revision of this API.