Skip to content

Commit

Permalink
Added DELETE keystore/item to OpenAPI definitions
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
  • Loading branch information
Coduz committed Jul 20, 2021
1 parent fae5a83 commit 4760f73
Showing 1 changed file with 32 additions and 0 deletions.
Expand Up @@ -109,6 +109,38 @@ paths:
$ref: '../openapi.yaml#/components/responses/entityNotFound'
500:
$ref: '../openapi.yaml#/components/responses/kapuaError'
delete:
tags:
- Device Management - Keystore
summary: Delete a keystore item from a single Device
operationId: deviceKeystoreItemDelete
parameters:
- $ref: '../openapi.yaml#/components/parameters/scopeId'
- $ref: '../device/device.yaml#/components/parameters/deviceId'
- name: keystoreId
in: query
description: The keystore id of the item to delete.
required: true
schema:
type: string
- name: alias
in: query
description: The alias of the item to delete.
required: true
schema:
type: string
- $ref: '../device/device.yaml#/components/parameters/timeout'
responses:
204:
description: The keystore item has been deleted
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
$ref: '../openapi.yaml#/components/responses/subjectUnauthorized'
404:
$ref: '../openapi.yaml#/components/responses/entityNotFound'
500:
$ref: '../openapi.yaml#/components/responses/kapuaError'
/{scopeId}/devices/{deviceId}/keystore/items/certificateInfo:
post:
tags:
Expand Down

0 comments on commit 4760f73

Please sign in to comment.