aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger/v1_json.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-rw-r--r--templates/swagger/v1_json.tmpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index f1e0b0080d..4d6333ac4e 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -10635,9 +10635,8 @@
"required": true
},
{
- "type": "integer",
- "format": "int64",
- "description": "token to be deleted",
+ "type": "string",
+ "description": "token to be deleted, identified by ID and if not available by name",
"name": "token",
"in": "path",
"required": true
@@ -10646,6 +10645,9 @@
"responses": {
"204": {
"$ref": "#/responses/empty"
+ },
+ "422": {
+ "$ref": "#/responses/error"
}
}
}