Added delete-many-tags documentation
MODIFY
postman/EVSE.postman_collection.json
postman/EVSE.postman_collection.json
"header": [],
"body": {
"mode": "raw",
- "raw": "{\n \"id\": \"ABCDE1234679\",\n \"visualID\": \"New visual ID\",\n \"description\": \"Postman tag\",\n \"active\": true,\n \"issuer\": true,\n \"default\": false,\n \"userID\": \"{{userID}}\"\n}",
+ "raw": "",
"options": {
"raw": {
"language": "json"
},
"response": []
},
+ {
+ "name": "FE-TagsDelete",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ ""
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "bearer",
+ "bearer": [
+ {
+ "key": "token",
+ "value": "{{token}}",
+ "type": "string"
+ }
+ ]
+ },
+ "method": "DELETE",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"tagsIDs\": [\n \"{{tagId1}}\",\n \"{{tagId2}}\"\n ]\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{base_url}}/v1/api/tags",
+ "host": [
+ "{{base_url}}"
+ ],
+ "path": [
+ "v1",
+ "api",
+ "tags"
+ ]
+ }
+ },
+ "response": []
+ },
{
"name": "FE-UserImage Copy",
"request": {

MODIFY
src/assets/server/rest/v1/docs/e-mobility-oas.json
src/assets/server/rest/v1/docs/e-mobility-oas.json
"description": "Tag already exists"
}
}
+ },
+ "delete": {
+ "security": [
+ {
+ "bearerAuth": []
+ }
+ ],
+ "description": "Delete several Tags",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "tagsIDs": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "Tags"
+ ],
+ "responses": {
+ "200": {
+ "description": "Tags deletion result",
+ "content": {
+ "application/json": {
+ "example": {
+ "inSuccess": 42,
+ "inError": 0,
+ "status": "Success"
+ }
+ }
+ }
+ },
+ "401": {
+ "$ref": "#/components/responses/UnauthorizedError"
+ },
+ "403": {
+ "$ref": "#/components/responses/ForbiddenError"
+ },
+ "500": {
+ "$ref": "#/components/responses/BackendError"
+ },
+ "550": {
+ "$ref": "#/components/responses/ResourceDoesNotExists"
+ }
+ }
}
},
"/api/tags/{id}": {
},
"550": {
"$ref": "#/components/responses/ResourceDoesNotExists"
- },
- "575": {
- "$ref": "#/components/responses/TagHasTransactionsError"
}
}
}

Added delete-many-tags documentation