Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cascade delete for a platform #46

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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