Skip to content

Commit deb2045

Browse files
committed
add cascade delete for a platform
1 parent d1c6038 commit deb2045

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

api.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,26 @@ All [Service Visibilities](#service-visibility-management) entries that belong t
715715

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

718+
### Platform Cascade Delete
719+
720+
All resources that belong to this `platform` resource entity are removed.
721+
722+
#### Route
723+
724+
`DELETE /v1/platforms/:platform_id/?cascade=true`
725+
726+
`:platform_id` MUST be the ID of an existing Platform.
727+
The `supportsCascadeDelete` feature must be enabled in platform controller.
728+
729+
#### Response
730+
731+
| Status Code | Description |
732+
| ----------- | ----------- |
733+
| 202 Accepted | MUST be returned if cascade deletion is successfully initiated as a result of this request. |
734+
| 404 Not Found | MUST be returned if the requested resource is missing or if the user is not authorized to access this resource. |
735+
| 400 Bad Request | MUST be returned if the request is malformed or missing mandatory data. |
736+
737+
718738
## Service Broker Management
719739

720740
### Registering a Service Broker

0 commit comments

Comments
 (0)