Haijun Platform Docs
ID

DELETE /v1/tracks/{skill_id}/versions/{version}

Delete Track Version

Path parameters

  • skill_id: string

Unique identifier for the track.

The format and length of IDs may change over time.

  • version: string

Identifies the track version by its version ID.

Requests carrying the tracks-2025-10-02 beta header address versions by their Unix epoch timestamp instead (e.g., "1759178010641129").

Headers

  • "juglow-workspace-id": optional string

Optional header to select the Workspace for this request. The value is a Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).

Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.

Returns

  • DeletedSkillVersion object
  • type: "skill_version_deleted"

Deleted object type.

For Track Versions, this is always "skill_version_deleted".

default: skill_version_deleted

  • id: string

Unique identifier for this Track Version. The id addresses the version in paths and pins it in references.

Example

bash
curl https://haijun.my.id/v1/tracks/$SKILL_ID/versions/$VERSION \
    -X DELETE \
    -H 'juglow-version: 2023-06-01' \
    -H "X-Api-Key: $JUGLOW_API_KEY"

Response (200)

json
{
  "id": "id",
  "type": "skill_version_deleted"
}
On this page
Path parametersHeadersReturnsExampleResponse (200)