# Delete card from next scheduled embossing Delete card from next scheduled embossing. This endpoint only works in conjunction with the [Add card to next scheduled embossing](ref:put-cards-embossing) endpoint. **Note:** This is a PCI endpoint, use the https://gw-pci.pismolabs.io environment. # 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": "Embossing", "description": "Card embossing endpoints" } ], "components": { "parameters": { "cardId": { "in": "path", "name": "cardId", "schema": { "type": "string" }, "description": "Pismo card ID", "required": true } }, "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": { "401Unauthorized": { "description": "Access token is missing or invalid" }, "500InternalServer": { "description": "Internal server error" } } }, "paths": { "/embossing/v1/cards/{cardId}/embossing": { "delete": { "operationId": "delete-cards-embossing", "summary": "Delete card from next scheduled embossing", "description": "Delete card from next scheduled embossing. This endpoint only works in conjunction with the [Add card to next scheduled embossing](https://developers.pismo.io/pismo-docs/reference/put-cards-embossing) endpoint.\n\n**Note:** This is a PCI endpoint, use the https://gw-pci.pismolabs.io environment.\n", "tags": [ "Embossing" ], "parameters": [ { "$ref": "#/components/parameters/cardId" } ], "responses": { "202": { "description": "Accepted." }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "type": "object", "properties": { "error_code": { "type": "string" }, "message": { "type": "string" }, "status": { "type": "integer" }, "error": { "type": "string" } } }, "examples": { "example-bad-request": { "value": { "message": "The field card_id is required", "error": "bad_request", "status": 400, "error_code": "" } } } } } }, "401": { "$ref": "#/components/responses/401Unauthorized" }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "description": "", "type": "object", "properties": { "error_code": { "type": "string" }, "message": { "type": "string" }, "status": { "type": "integer" }, "error": { "type": "string" } } }, "examples": { "example-card-not-found": { "value": { "message": "Card not found", "error": "not_found", "status": 404, "error_code": "" } } } } } }, "406": { "description": "StatusNotAcceptable", "content": { "application/json": { "schema": { "description": "", "type": "object", "properties": { "error_code": { "type": "string" }, "message": { "type": "string" }, "status": { "type": "integer" }, "error": { "type": "string" } } }, "examples": { "example-card-not-found": { "value": { "message": "Card already embossed", "error": "StatusNotAcceptable", "status": 406, "error_code": "" } } } } } }, "500": { "$ref": "#/components/responses/500InternalServer" } } } } } } ```