---
title: "Detach overdraft product from account"
method: POST
path: "/v1/overdraft/accounts/{accountId}/detach"
tags: ["Account"]
---

# Detach overdraft product from account

`POST /v1/overdraft/accounts/{accountId}/detach`

## Request

- Base URL: `https://sandbox.pismolabs.io/passport`
- URL: `https://sandbox.pismolabs.io/passport/v1/overdraft/accounts/{accountId}/detach`
- Auth: none declared. Required headers: `AuthorizationToken`

Detach an overdraft product from a bank account.<br>
This endpoint generates an [Overdraft account detached](https://developers.pismo.io/events/docs/overdraft-product-account-detach-1) event.

## Path parameters

- `accountId` integer, required

## Headers

- `AuthorizationToken` string, required

## Request body

- ProductAttachRequest
  - `product_id` string, uuid, required: Overdraft product ID
  - `metadata` object: Additional details about the overdraft product. The information must be in `key:value` pair format. For example, `name:<your_name>`.<br> `minLength` = `0` `maxLength` = `1024`<br> **Note**: This field must not be used to send Personally Identifiable Information (PII), Payment Card Industry (PCI) data, or any sensitive/regulated information. Metadata fields are intended for operational, non-sensitive data only. For sensitive data, use the specific parameters designed for that purpose. For more information, refer to [Get started with Pismo APIs](https://developers.pismo.io/pismo-docs/reference/get-started-with-pismo-apis).

## Response `204`

Product detached successfully

## Other responses

- `400`: Bad request
- `404`: Bad request
- `409`: Conflict
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/platform-authentication.md) - [All operations](https://skmtc.dev/pismo/apis/platform-authentication/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/platform-authentication/revisions/935b62e16de4?raw)
