# Revoke operation block (deprecated)
Cancels a previously set operation block.
This endpoint is deprecated and no longer supported after December 19th, 2025. Please update your integration to use the v2 version before this date.
# OpenAPI definition
```json
{
"openapi": "3.0.0",
"info": {
"title": "Banking - Transaction banking",
"version": "0.9.0",
"description": "Transaction banking 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"
}
],
"security": [
{
"BearerAuth": []
}
],
"tags": [
{
"name": "Operations blocks",
"description": "Operations blocks endpoints"
}
],
"components": {
"parameters": {
"OperationsBlockV1IDPath": {
"name": "operationsBlockId",
"in": "path",
"description": "Operations block ID",
"schema": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 99999999999
},
"example": 15,
"required": true
}
},
"schemas": {
"ErrorCode": {
"description": "Error code\n`minLength: 1`\n`maxLength: 12`\n",
"type": "string",
"minLength": 1,
"maxLength": 12,
"example": "WPMT0017"
},
"ErrorMessage": {
"description": "Error message\n`minLength: 1`\n`maxLength: 1000`\n",
"type": "string",
"minLength": 1,
"maxLength": 1000,
"example": "Invalid JSON payload received: Error unmarshalling request"
},
"ErrorResponse": {
"type": "object",
"properties": {
"code": {
"$ref": "#/components/schemas/ErrorCode"
},
"message": {
"$ref": "#/components/schemas/ErrorMessage"
}
}
}
},
"responses": {
"204NoContent": {
"description": "No Content"
},
"500InternalServer": {
"description": "Internal Server Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
},
"examples": {
"Generic internal error": {
"value": {
"code": "ECMN9999",
"message": "Internal error"
}
}
}
}
}
}
},
"securitySchemes": {
"BearerAuth": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "JWT"
}
}
},
"paths": {
"/corporate/v1/operations-blocks/{operationsBlockId}": {
"delete": {
"summary": "Revoke operation block (deprecated)",
"deprecated": true,
"operationId": "corporate-delete-v1-operation-block-id",
"description": "Cancels a previously set operation block.
\nThis endpoint is deprecated and no longer supported after December 19th, 2025. Please update your integration to use the v2 version before this date.\n",
"parameters": [
{
"$ref": "#/components/parameters/OperationsBlockV1IDPath"
}
],
"tags": [
"Operations blocks"
],
"responses": {
"204": {
"$ref": "#/components/responses/204NoContent"
},
"400": {
"description": "Bad request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
},
"examples": {
"Invalid id parameter": {
"value": {
"code": "WOBK0005",
"message": "Invalid id parameter"
}
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
},
"examples": {
"Operation block not found": {
"value": {
"code": "WOBK0006",
"message": "Operation block not found"
}
}
}
}
}
},
"500": {
"$ref": "#/components/responses/500InternalServer"
}
}
}
}
}
}
```