DeletePipelineRelations - Delete a pipeline association

Updated at:

Delete a pipeline association by calling this operation.

Applicable editions

Central edition, Region edition

Endpoints and authorization information

  • Obtain an endpoint. Replace {domain} in the request syntax.

  • Obtain a personal access token.

  • Obtain the organizationId. This parameter is required only for the Central edition. Navigate to the Basic Information page in the Tenant Management console to obtain the organization ID.

Product

Resource

Required permission

Pipeline

Pipeline

Read and write

Request syntax

Central edition

DELETE https://{domain}/oapi/v1/flow/organizations/{organizationId}/pipelines/{pipelineId}/pipelineObjRel/{relObjectType}/remove/{relObjectId}

Region edition

DELETE https://{domain}/oapi/v1/flow/pipelines/{pipelineId}/pipelineObjRel/{relObjectType}/remove/{relObjectId}

Request headers

Parameter

Type

Required

Description

Example

x-yunxiao-token

string

Yes

The personal access token.

pt-0fh3****0fbG_35af****0484

Request parameters

Parameter

Type

Location

Required

Description

Example

organizationId

string

path

  • Yes: Central edition

  • No: Region edition

The organization ID.

5ebbc0228123212b59xxxxx

pipelineId

string

path

Yes

The pipeline ID.

123

relObjectType

string

path

Yes

The associated resource type. Only VARIABLE_GROUP is supported.

VARIABLE_GROUP

relObjectId

string

path

Yes

The associated resource ID. Only variable group IDs are supported.

11

Request examples

Central edition

curl -X 'DELETE' \
  'https://{domain}/oapi/v1/flow/organizations/5ebbc0228123212b59xxxxx/pipelines/123/pipelineObjRel/VARIABLE_GROUP/remove/11' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Region edition

curl -X 'DELETE' \
  'https://{domain}/oapi/v1/flow/pipelines/123/pipelineObjRel/VARIABLE_GROUP/remove/11' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response parameters

Parameter

Type

Description

Example

-

boolean

Whether the request was successful.

true

Response example

true

Error codes

For a list of error codes, see Error Code Center.