---
updatedAt: 2026-05-14T17:08:40.000Z
---

Fetch the complete documentation index at: https://developers.pismo.io/pismo-docs/llms.txt. Use this file to discover all available pages before exploring further. Append .md to any documentation page URL to get its markdown version.

# Roll back status

Reset account status to `NORMAL`.

This endpoint generates an [Account status changed](https://developers.pismo.io/events/docs/account-status-change-2) event.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Core platform - Accounts",
    "version": "1.0.0",
    "description": "API used to manage accounts domain",
    "contact": {
      "name": "API Support",
      "url": "https://developers.pismo.io/support/"
    },
    "license": {
      "name": "Copyright Pismo"
    }
  },
  "servers": [
    {
      "url": "https://sandbox.pismolabs.io",
      "description": "API server for testing."
    }
  ],
  "tags": [
    {
      "name": "Statuses and reasons",
      "description": "Endpoints to configure accounts, statuses, and reasons."
    }
  ],
  "components": {
    "parameters": {
      "AccountIdPath": {
        "name": "accountId",
        "in": "path",
        "description": "Account ID",
        "required": true,
        "schema": {
          "type": "integer",
          "format": "int64",
          "minimum": 1,
          "example": 123
        }
      }
    },
    "schemas": {
      "RollbackAccountStatusDescription": {
        "type": "string",
        "description": "Account rollback status description",
        "maxLength": 500,
        "example": "Rollback of account cancellation"
      },
      "RollbackAccountStatusRequest": {
        "type": "object",
        "description": "Rollback account status",
        "properties": {
          "status": {
            "type": "string",
            "description": "Status to update. Pre-defined account statuses include `DEBIT_ONLY`, `NORMAL`, `BLOCKED`, and `CANCELLED`. You can create your own account statuses with the [Create status](https://developers.pismo.io/pismo-docs/reference/v4-post-account-status) endpoint.\n",
            "example": "NORMAL"
          },
          "reason_id": {
            "$ref": "#/components/schemas/StatusReasonID"
          },
          "description": {
            "$ref": "#/components/schemas/RollbackAccountStatusDescription"
          }
        }
      },
      "SimpleError": {
        "title": "SimpleError",
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "message": {
            "type": "string",
            "description": "Error message"
          }
        }
      },
      "StatusReasonID": {
        "type": "integer",
        "format": "int64",
        "example": 123,
        "minimum": 1,
        "description": "ID of the reason why the account is in its current status. You can create reasons with the [Create status reason](https://developers.pismo.io/pismo-docs/reference/v4-post-account-reason) endpoint.\n"
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  },
  "paths": {
    "/accounts/v2/accounts/{accountId}/status/rollback": {
      "patch": {
        "operationId": "patch-v2-accounts-accountId-status-rollback",
        "summary": "Roll back status",
        "description": "Reset account status to `NORMAL`.\n\nThis endpoint generates an [Account status changed](https://developers.pismo.io/events/docs/account-status-change-2) event.\n",
        "tags": [
          "Statuses and reasons"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/AccountIdPath"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RollbackAccountStatusRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "OK"
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SimpleError"
                },
                "examples": {
                  "Account not found": {
                    "value": {
                      "message": "Account or status not found"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SimpleError"
                },
                "examples": {
                  "Internal server error": {
                    "value": {
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```