Skip to content

x / action / schema v1

Delete Post

Delete a post authored by the connected user. Requires tweet.write.

Prerequisites

  • Add the x plugin inside this workflow.

Parameters

ParameterTypeDescription
X connectionconnectionIdtext
Required
Choose an encrypted connection. Writing and reading your profile require a user OAuth 2.0 access token.
Post IDpostIdtext
Required

Inputs and outputs

Inputs

  • execute - Execute (input)

Outputs

  • done - Done (output)
  • id - Deleted post ID (output)
  • deleted - Whether X deleted the post (output)
  • error - Error (output)
Output data schema
[
  {
    "key": "id",
    "type": "string",
    "description": "Deleted post ID",
    "label": "Deleted post ID"
  },
  {
    "key": "deleted",
    "type": "boolean",
    "description": "Whether X deleted the post",
    "label": "Whether X deleted the post"
  }
]

Examples and troubleshooting have not yet been reviewed for this contract.

Version and compatibility

This reference follows the current authoring contract. Existing workflows retain their saved node revisions.

Contract identifier28677cd3b4206f3c0c2a466dfda3d24e6b1d05c93c5a3f1487f351b245d7c791
More x nodes