Delete data release

Delete a data publication. Deletion will affect subscriber access. You should first confirm that the target workspace no longer needs the publication.

HTTP
DELETE $CLOUDSIGMA_API_BASE/data-share/publishes/{id}

Before you call

Configure the CloudSigma regional endpoint and authentication before calling. The endpoint, credentials, workspace, and resource IDs must belong to the same region. First query the data release list and confirm the release to be deleted. Prepare the personal access token, target workspace ID, and release ID that can access the target workspace.

Request parameters

Shell
curl -X DELETE "$CLOUDSIGMA_API_BASE/data-share/publishes/$PUBLICATION_ID" \
  -H "X-API-Key: $CLOUDSIGMA_API_KEY" \
  -H "X-Workspace-ID: $WORKSPACE_ID"

Field

Type

Required

Description

id

integer

Yes

Release ID greater than 0.

Successful response

JSON
{
  "code": "OK",
  "msg": "OK",
  "data": null
}

Field

Type

Description

code

string

OK on success.

msg

string

OK on success.

data

null

When the deletion is successful, it is fixed to null.

Error response

JSON
{
  "code": "ErrPublishNotFound",
  "msg": "数据发布不存在",
  "data": null
}

Field

Type

Description

code

string

error code.

msg

string

Error description.

data

null

Empty on error.

Last updated on