Skip to content

Commit

Permalink
add cascade delete for a platform
Browse files Browse the repository at this point in the history
  • Loading branch information
i500866 committed Oct 20, 2020
1 parent d1c6038 commit 3d342c0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,26 @@ All [Service Visibilities](#service-visibility-management) entries that belong t

`:platform_id` MUST be the ID of an existing Platform.

### Cascade Delete Platform

All resources that belong to this `platform` resource entity are removed.

#### Route

`DELETE /v1/platforms/:platform_id/?cascade=true`

`:platform_id` MUST be the ID of an existing Platform.
The `supportsCascadeDelete` feature must be enabled in platform controller.

#### Response

| Status Code | Description |
| ----------- | ----------- |
| 202 Accepted | MUST be returned if cascade deletion is successfully initiated as a result of this request. |
| 404 Not Found | MUST be returned if the requested resource is missing or if the user is not authorized to access this resource. |
| 400 Bad Request | MUST be returned if the request is malformed or missing mandatory data. |


## Service Broker Management

### Registering a Service Broker
Expand Down

0 comments on commit 3d342c0

Please sign in to comment.