Skip to content

Commit 487b22a

Browse files
authored
Merge pull request #7238 from keboola/vb/DMD-1317/exposure_delete
DMD-1317 Bucket Listing: Delete endpoint (DELETE /buckets/{bucketId}/listing)
2 parents 1ee194b + ae730a9 commit 487b22a

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

apiary.apib

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2027,6 +2027,54 @@ Asynchronous call response (async=true) that creates a new job. To see job detai
20272027
}
20282028

20292029

2030+
### Delete Bucket Listing [DELETE /v2/storage/buckets/{bucket_id}/listing]
2031+
Removes the bucket listing. The listing is removed from the Analytics Hub exchange
2032+
and the listing record is deleted. The underlying exchange is retained for future
2033+
listings in the same project. The operation is idempotent: if the listing has
2034+
already been removed in the target backend, the job still completes successfully.
2035+
2036+
+ Parameters
2037+
+ bucket_id (required) - Bucket Id
2038+
2039+
+ Request
2040+
+ Headers
2041+
2042+
X-StorageApi-Token: your_token
2043+
2044+
+ Response 202
2045+
Asynchronous call response (async=true) that creates a new job. To see job detail use [Job Detail API endpoint](#reference/jobs/manage-jobs/job-detail)
2046+
+ Body
2047+
2048+
{
2049+
"id": 11,
2050+
"status": "waiting",
2051+
"url": "https://connection.keboola.com/v2/storage/jobs/11",
2052+
"operationName": "bucketListingDelete",
2053+
"operationParams": {
2054+
"params": {
2055+
"queue": "main"
2056+
}
2057+
},
2058+
"createdTime": "2026-04-24T16:11:05+0200",
2059+
"startTime": null,
2060+
"endTime": null,
2061+
"runId": null,
2062+
"results": null,
2063+
"creatorToken": {
2064+
"id": "27978",
2065+
"description": "ondrej.popelka@keboola.com"
2066+
},
2067+
"metrics": {
2068+
"inCompressed": false,
2069+
"inBytes": 0,
2070+
"inBytesUncompressed": 0,
2071+
"outCompressed": false,
2072+
"outBytes": 0,
2073+
"outBytesUncompressed": 0
2074+
}
2075+
}
2076+
2077+
20302078
### Force unlink a bucket from a project [DELETE /v2/storage/buckets/{bucket_id}/links/{linkedProjectId}?async={async}]
20312079

20322080
When bucket is shared and someone links it, it effectively prevents the owner of the data from revoking the share.

0 commit comments

Comments
 (0)