Delete post
Deletes a post from the database. By default this does not remove the post from social media platforms; pass delete_on_platform=true to also delete it from platforms first.
Request
- Base URLhttps://api.postproxy.dev
- URLhttps://api.postproxy.dev/api/posts/{id}
- AuthHTTP bearer
Path parameters
Post id
Query parameters
If true, also deletes the post from all published platforms before removing it from the database
Profile group context for the request. Optional when the API key is scoped to a profile group (that group is used automatically); with a full-access key, defaults to the first profile group in the account.
Headers
Optional idempotency key (up to 255 characters; a UUID is ideal). Retrying a successful write with the same key replays the original response (with an Idempotent-Replay: true header) instead of executing again. Stored responses are kept for 24 hours; only 2xx responses are stored.
Response
Post deleted
Example response
{
"deleted": true
}Changes
No recorded changes to this operation across all 1 revision of this API.