Skip to main content
DELETE
Delete pipeline stage

Authorizations

Authorization
string
header
required

Access token issued by gs.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Path Parameters

sid
string
required

The custom stage to remove. A system stage (key != null) is refused with 422 validation_failed.

Required string length: 18
Pattern: ^cr_ps_

Query Parameters

replace_pipeline_stage_sid
string
required

Required. Every member object is repointed here, so nothing is orphaned: a live stage of the SAME object (422 otherwise), and not the stage being deleted (the backend does not reject the sid itself, and members would land on the row that just went away).

Required string length: 18
Pattern: ^cr_ps_

Response

delete_simple success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
delete
item
object
required
already_deleted
boolean
required
soft_deleted
boolean
required
retained
string[]
required
meta
object
required