# Cancel noname bulk operation Cancel noname bulk operation. The canceling operation is executed asynchronously and generates a [Noname cancellation](https://developers.pismo.io/events/docs/cards-noname-cancellation-1) event when done. # OpenAPI definition ```json { "openapi": "3.0.1", "info": { "title": "Card issuing - Cards", "version": "1.4.6", "description": "Card endpoints API", "contact": { "name": "API Support", "url": "https://developers.pismo.io/support/" }, "license": { "name": "Copyright Pismo" } }, "servers": [ { "url": "https://sandbox.pismolabs.io", "description": "Sandbox API server for testing." }, { "url": "https://gw-pci.pismolabs.io", "description": "Sandbox PCI API server for testing" } ], "security": [ { "BearerAuth": [] } ], "tags": [ { "name": "Noname", "description": "Noname card endpoints. Noname cards are batch-generated and not initially associated with customers, which occurs later." } ], "components": { "parameters": { "bulkIDpath": { "in": "path", "name": "bulkID", "schema": { "type": "string" }, "description": "Bulk ID", "required": true } }, "schemas": { "CancelBulkRequest": { "type": "object", "required": [ "cancel_type" ], "properties": { "cancel_type": { "type": "string", "enum": [ "FULL", "PARTIAL" ] }, "external_ids": { "type": "array", "description": "External ID array. If `cancel_type` = `PARTIAL`, this field is **REQUIRED**. The maximum number of cards in one bulk/batch is 1000.\n", "minLength": 1, "maxLength": 1000, "items": { "type": "string", "description": "External ID", "maxLength": 255, "minLength": 1 } } } } }, "securitySchemes": { "BearerAuth": { "type": "http", "scheme": "bearer", "description": "Account token - an access token encoded with a Pismo account ID. Tokens can expire quickly, which can result in an \"Unauthorized\" error.", "bearerFormat": "JWT" } }, "responses": { "400BadRequest": { "description": "Bad Request" }, "401Unauthorized": { "description": "Access token is missing or invalid" }, "403Forbidden": { "description": "You don't have permission to access this resource" }, "404NotFound": { "description": "The specified resource was not found" }, "406RangeNotSatisfiable": { "description": "Request is out-of-range." }, "500InternalServer": { "description": "Internal server error" } } }, "paths": { "/cards/v1/bulks/{bulkID}/cancel": { "post": { "summary": "Cancel noname bulk operation", "description": "Cancel noname bulk operation.\n\nThe canceling operation is executed asynchronously and generates a [Noname cancellation](https://developers.pismo.io/events/docs/cards-noname-cancellation-1) event when done.\n", "operationId": "cancel-bulk", "tags": [ "Noname" ], "parameters": [ { "$ref": "#/components/parameters/bulkIDpath" } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CancelBulkRequest" } } } }, "responses": { "202": { "description": "Bulk will be canceled asynchronously" }, "400": { "$ref": "#/components/responses/400BadRequest" }, "401": { "$ref": "#/components/responses/401Unauthorized" }, "403": { "$ref": "#/components/responses/403Forbidden" }, "404": { "$ref": "#/components/responses/404NotFound" }, "406": { "$ref": "#/components/responses/406RangeNotSatisfiable" }, "500": { "$ref": "#/components/responses/500InternalServer" } } } } } } ```