---
title: "Delete profile"
method: DELETE
path: "/profiles/{profileId}"
tags: ["Profiles"]
---

# Delete profile

`DELETE /profiles/{profileId}`

## Request

- Base URL: `https://api.na.bambora.com/v1`
- URL: `https://api.na.bambora.com/v1/profiles/{profileId}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Sub-Merchant-Id`
- TypeScript: <https://skmtc.dev/worldline-solutions/apis/worldline-payment-apis/docs/profiles/:profileId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a Payment Profile using the profile ID, also known as the Customer Code.

## Path parameters

- `profileId` string, required

## Response `200`

The Profile.

- ProfileResponse
  - `code` number
  - `message` string
  - `customer_code` string: the ID of the payment profile. You need to keep track of this value.
  - `validation` CardValidation
    - `id` string: Transaction ID
    - `approved` integer: Approval status of payment transaction. 0 if the transaction is not approved. 1 if the transaction is approved.
    - `message_id` integer: Payment response code
    - `message` string: Message containing information about the transactions status
    - `auth_code` string: Auth Code
    - `trans_date` string: The date it was created '2015-04-22T10:03:19.323-07:00'
    - `order_number` string: Order number
    - `type` 'P' | 'R' | 'VP' | 'VR' | 'PA' | 'PAC': Payment transaction type
    - `amount` number, double: A decimal value in dollars. Uses up to two decimal places.
    - `cvd_id` integer: CVD Response ID
  - `limited_use_card_token` string: Uniquely identifies specific cards in payment profile accounts. Used only for performing Method URL operations.

## Other responses

- `400`: Bad Request
- `401`: Authentication Failure
- `402`: Business Rule Violation or Decline
- `403`: Authorization Failure
- `405`: Invalid Request Method
- `500`: Internal Server Error

---

[API](https://skmtc.dev/worldline-solutions/apis/worldline-payment-apis.md) - [All operations](https://skmtc.dev/worldline-solutions/apis/worldline-payment-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/worldline-solutions/apis/worldline-payment-apis/revisions/d661d9e357a1?raw)
