dambel

دمبل

shevron
ورود | ثبت نام

API Docs / posts / delete



DELETE /api/v1/posts/{post-id}

Deletes a post by its ID.


Permissions

PermissionDescription
view (profile)Must have view permission on the profile
posts.deleteDelete your own posts
posts.delete_anyDelete any post (admin only)

Path Parameters

NameTypeRequiredDescriptionExample
post-idintYesID of the post to delete123

Response

204 No Content

Post was successfully deleted. No response body is returned.


Error Responses

StatusDescriptionReference
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error
404Not foundNot-found error
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube