PostsDelete a post

Posts

Delete a post

Deletes a post as the app does: nothing scheduled is sent and a published post is removed from its network. Test applications have nothing real to delete.

DELETEhttps://api.sofia-post.com/api/v1/posts/{id}
DELETE/v1/posts/{id}

This request acts on your real account.

curl -X DELETE 'https://api.sofia-post.com/api/v1/posts/{id}' \
  -H "Authorization: Bearer $SOFIA_API_KEY"

Authorizations

  • Authorizationstringrequired

    Your personal key or OAuth access token, sent as Bearer <token>.

Path parameters

  • idstringrequired

    Identifier of the post.

Response

204

Deleted: nothing will be sent.

401

The token is missing, unknown, expired or revoked.

402

subscription_required.

403

live_mode_required for a test application, or the posts:write scope is missing.

404

post_not_found: outside the Workspace of the grant.

409

post_in_flight: a network is being sent.

4XXapplication/json

Any other error, in the error envelope.