Skip to content

Commit f67cd9b

Browse files
OAS Update
1 parent 08b8031 commit f67cd9b

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

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

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,6 +1537,51 @@
15371537
}
15381538
}
15391539
}
1540+
},
1541+
"/v1/vendors/projects/{projectId}/subscriptions/{subscriptionId}/reject": {
1542+
"post": {
1543+
"description": "Reject a subscription (in any lifecycle state). Only available for subscriptions to products with lifecycle state `PRODUCT_PREVIEW`.",
1544+
"operationId": "vendors-subscriptions-reject",
1545+
"parameters": [
1546+
{
1547+
"$ref": "#/components/parameters/pathParamProjectId"
1548+
},
1549+
{
1550+
"$ref": "#/components/parameters/pathParamSubscriptionId"
1551+
}
1552+
],
1553+
"responses": {
1554+
"204": {
1555+
"description": "No Content"
1556+
},
1557+
"400": {
1558+
"$ref": "#/components/responses/BadRequest"
1559+
},
1560+
"401": {
1561+
"$ref": "#/components/responses/Unauthorized"
1562+
},
1563+
"403": {
1564+
"$ref": "#/components/responses/Forbidden"
1565+
},
1566+
"404": {
1567+
"$ref": "#/components/responses/NotFound"
1568+
}
1569+
},
1570+
"summary": "Reject a subscription",
1571+
"x-stackit-authorization": {
1572+
"actions": [
1573+
"marketplace.subscription.reject"
1574+
],
1575+
"resource-id": "projectId",
1576+
"resource-id-type": "dynamic",
1577+
"resource-type": "project",
1578+
"service-enablement": {
1579+
"services": [
1580+
"cloud.stackit.marketplace"
1581+
]
1582+
}
1583+
}
1584+
}
15401585
}
15411586
},
15421587
"servers": [

0 commit comments

Comments
 (0)