Skip to content

Commit 58ab60a

Browse files
OAS Update
1 parent 3e794e3 commit 58ab60a

File tree

1 file changed

+44
-2
lines changed

1 file changed

+44
-2
lines changed

services/secrets-manager/v1/secrets-manager.json

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,17 @@
169169
"cidr"
170170
]
171171
},
172+
"UpdateInstancePayload": {
173+
"properties": {
174+
"name": {
175+
"description": "A user chosen name to distinguish multiple secrets manager instances.",
176+
"type": "string"
177+
}
178+
},
179+
"required": [
180+
"name"
181+
]
182+
},
172183
"UpdateUserPayload": {
173184
"properties": {
174185
"write": {
@@ -213,7 +224,7 @@
213224
"info": {
214225
"description": "This API provides endpoints for managing the Secrets-Manager.\n",
215226
"title": "STACKIT Secrets Manager API",
216-
"version": "1.2.0"
227+
"version": "1.4.0"
217228
},
218229
"openapi": "3.0.3",
219230
"paths": {
@@ -356,7 +367,38 @@
356367
"x-go-type": "string"
357368
}
358369
}
359-
]
370+
],
371+
"put": {
372+
"description": "Updates the given Secrets Manager instance.",
373+
"operationId": "UpdateInstance",
374+
"requestBody": {
375+
"content": {
376+
"application/json": {
377+
"schema": {
378+
"$ref": "#/components/schemas/UpdateInstancePayload"
379+
}
380+
}
381+
},
382+
"required": true
383+
},
384+
"responses": {
385+
"201": {
386+
"description": "Instance was updated successfully."
387+
},
388+
"400": {
389+
"description": "Bad Request. Invalid instance name.'"
390+
},
391+
"401": {
392+
"description": "Unauthorized. You may have provided no or wrong credentials."
393+
},
394+
"404": {
395+
"description": "Not found. Instance not found."
396+
},
397+
"500": {
398+
"description": "Internal server error. The application experienced some unexpected situation."
399+
}
400+
}
401+
}
360402
},
361403
"/v1/projects/{projectId}/instances/{instanceId}/acls": {
362404
"get": {

0 commit comments

Comments
 (0)