Skip to content

Commit f662e9f

Browse files
OAS Update
1 parent ea0931a commit f662e9f

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

services/stackit-marketplace/v1/stackit-marketplace.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,61 @@
849849
}
850850
}
851851
},
852+
"/v1/consumers/projects/{projectId}/subscriptions/{subscriptionId}/terminate": {
853+
"post": {
854+
"description": "Terminates a consumer subscription early.",
855+
"operationId": "consumers-subscriptions-terminate",
856+
"parameters": [
857+
{
858+
"in": "path",
859+
"name": "projectId",
860+
"required": true,
861+
"schema": {
862+
"type": "string"
863+
}
864+
},
865+
{
866+
"in": "path",
867+
"name": "subscriptionId",
868+
"required": true,
869+
"schema": {
870+
"type": "string"
871+
}
872+
}
873+
],
874+
"responses": {
875+
"204": {
876+
"description": "No Content"
877+
},
878+
"400": {
879+
"$ref": "#/components/responses/BadRequest"
880+
},
881+
"401": {
882+
"$ref": "#/components/responses/Unauthorized"
883+
},
884+
"403": {
885+
"$ref": "#/components/responses/Forbidden"
886+
},
887+
"404": {
888+
"$ref": "#/components/responses/NotFound"
889+
}
890+
},
891+
"summary": "Terminates a consumer subscription early.",
892+
"x-stackit-authorization": {
893+
"actions": [
894+
"marketplace.subscription.terminate"
895+
],
896+
"resource-id": "projectId",
897+
"resource-id-type": "dynamic",
898+
"resource-type": "project",
899+
"service-enablement": {
900+
"services": [
901+
"cloud.stackit.marketplace"
902+
]
903+
}
904+
}
905+
}
906+
},
852907
"/v1/vendors/organizations/{organizationId}/subscriptions": {
853908
"get": {
854909
"description": "List all subscriptions of an organization.",

0 commit comments

Comments
 (0)