Delete a package and its derived grants
DELETE
/v1/packages/{packageId}Requires package_delete. Original resources and independent shares are never removed.
How to call this endpoint
Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.
Path, query, and header parameters
These parameters control which ACP object the endpoint acts on and how the request is processed.
Path parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| packageId | path | string | Yes | — |
Query parameters
None.
Body schema
This endpoint does not require a request body.
None.
What the API returns
Each response code below includes the documented payload shape for the ACP API.
200Package operation resultapplication/json
| Field | Type | Required | Description |
|---|---|---|---|
| deleted | boolean | Yes | — |
400Package request rejected. HTTP status distinguishes invalid input (400), authentication (401), API scope (403), unavailable resource (404), changed revision or confirmation (409), and unsupported storage (503).application/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
| code | string | No | — |
| message | string | No | Message text. |
401Package request rejected. HTTP status distinguishes invalid input (400), authentication (401), API scope (403), unavailable resource (404), changed revision or confirmation (409), and unsupported storage (503).application/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
| code | string | No | — |
| message | string | No | Message text. |
403Package request rejected. HTTP status distinguishes invalid input (400), authentication (401), API scope (403), unavailable resource (404), changed revision or confirmation (409), and unsupported storage (503).application/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
| code | string | No | — |
| message | string | No | Message text. |
404Package request rejected. HTTP status distinguishes invalid input (400), authentication (401), API scope (403), unavailable resource (404), changed revision or confirmation (409), and unsupported storage (503).application/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
| code | string | No | — |
| message | string | No | Message text. |
409Package request rejected. HTTP status distinguishes invalid input (400), authentication (401), API scope (403), unavailable resource (404), changed revision or confirmation (409), and unsupported storage (503).application/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
| code | string | No | — |
| message | string | No | Message text. |
503Package request rejected. HTTP status distinguishes invalid input (400), authentication (401), API scope (403), unavailable resource (404), changed revision or confirmation (409), and unsupported storage (503).application/json
| Field | Type | Required | Description |
|---|---|---|---|
| error | string | No | — |
| code | string | No | — |
| message | string | No | Message text. |
Delete a package and its derived grants
Loading...
Response 200
Loading...