Tearleads

DELETE/documents/{documentId}/baseline-stages/{baselineId}

Abandon a rotation baseline stage

Operation documents.baselineStages.abandon

Description

Deletes the caller's stage and every segment staged under it. A baseline a request already committed is not a stage and is not touched; a stage that is already gone returns 404 document_baseline_stage_not_found.

Authentication

Requires a signed-in session: the client sends its session token as a bearer token in the Authorization header.

Parameters

NameInTypeDetails
documentIdpathstringrequired
  • pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
baselineIdpathstringrequired
  • lowercase UUID v4

Responses

200 OK

application/jsonDocumentBaselineStageAbandonResponse

Acknowledges that a stage and its staged segments were deleted.

1 field
  • baselineIdstringrequired
    • lowercase UUID v4

    The abandoned baseline's id.

Other fields are allowed.

Other responses

StatusMeaningBody
400Bad Request

application/jsonErrorResponse

401Unauthorized

application/jsonSessionFailureResponse

402Payment Required

application/jsonPaymentRequiredErrorResponse

403Forbidden

application/jsonErrorResponse

404Not Found

application/jsonDocumentBaselineStageNotFoundErrorResponse

409Conflict

application/jsonDocumentBaselineStageConflictErrorResponse

500Internal Server Error

application/jsonErrorResponse

503Service Unavailable

application/jsonErrorResponse