DELETE
/
v1
/
teams
/
{teamId}
/
scheduling-slots
/
{slotId}
TypeScript client
import { OctosparkClient } from '@octospark/sdk'

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

const response = await client.schedulingSlots.deleteSchedulingSlot({
  teamId: process.env.OCTOSPARK_TEAM_ID ?? "teamId",
  slotId: process.env.OCTOSPARK_SLOT_ID ?? "slotId",
})
{
  "deleted": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

teamId
string
required

Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.

slotId
string
required

Scheduling slot id (UUID) from the team scheduling-slot grid, as returned by the list/create scheduling-slots endpoints.

Response

Success

deleted
boolean
required