DELETE
/
v1
/
teams
/
{teamId}
/
posts
/
{postId}
TypeScript client
import { OctosparkClient } from '@octospark/sdk'

const client = new OctosparkClient({
  token: process.env.OCTOSPARK_TOKEN
})

const response = await client.socialDeletePost({
  teamId: process.env.OCTOSPARK_TEAM_ID ?? "teamId",
  postId: process.env.OCTOSPARK_POST_ID ?? "postId",
  query: {},
})
{
  "deleted": true,
  "platformDelete": {
    "platformPostId": "<string>",
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

teamId
string
required
postId
string
required

Query Parameters

alsoDeleteFromPlatform
string

Response

Success

deleted
boolean
required
platformDelete
object
required