---
updatedAt: 2026-06-03T11:10:04.000Z
agentTools:
  projectIndex: https://docs-us.thisisbud.com/llms.txt
---

# Remove Customer V3

This endpoint is used to delete an existing Customer. Calling this endpoint initiates deleting all data relating to a customer returning a task id that can be used to check the status of the delete task.

# OpenAPI definition

````json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Customers API",
    "version": "1.0.0",
    "contact": {
      "name": "API Support",
      "url": "http://www.thisisbud.com/support",
      "email": "contact@thisisbud.com"
    },
    "x-logo": {
      "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATAAAABuCAQAAAAKAYdLAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH4wQDDggcbXcx7wAABeJJREFUeNrt3W2IFVUcx/HvXRW1VdQedy1bZVfoYX0osVQyfSGElKbRA5oFIaIlhAkWUYm6gvqqDMHMoBeKlhayCCZC2AMRPay7aJrSZmauZhQqaj7t7u1Fi965987s7D1n7pk7/j73zX2Y85//mXt2Zu45Z2ZBREREREREREREREREREREREREREREREREREREREREREREREREROIiZSFGH+YxgsOs5U/X1bFiPDPpQT3bu1DmcaZyg+vErWpjD+s47zoN6Mte0qRJc4Iq18lYMJv2jvosD11mRUeJpD32UO7664BFGQl94DoZY704fbU2rQwKVWYwbc6bQlSPBaYbtMz4K7nP53lpGkK/q8+7MTxUmeEWtmJcGX+j5psmM0I3l9vCirKAV36OuE46QsbfaHL/9opnL9tcpxBf3V0nkAgzWMRj9HadhrH+3Gk7pBqYDZdY3oXfnHE2gc1U2gyoQ6Rk+pKZdgOqgYnXF7TYDGe3gcWgW85QH9cJxMAVm8HsNrBqhhV1U9g33XUCzo1gsM1wdhtYio8ZWsytYdksFrpOwbGhbLYb0PavyLs5wA+c9v28lRa+Zzt/+y5RwwKqaOCdgCjZRvEit/A1a7jou8xwJjOMAb7D+ylqqCmw1imeZ0oCBrv7Mzp+/QofFTDCdZG13Jw3Wi1nOpbZT9+QGUziUkeZ3T49z+P4pqCRuCkhM1jjfMwwqsd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m1wlAOY1dvqXGKep87oZYzUmDW3Vs8+myuIf6Am6AsiT0Nljp/CYl0Twaze9ZaaN3u5w5jAy5L2ylhe/4nAu+S1Qwl+oCsrjCV2wM2KXfwSPUcmPIGv9LPZ91Ye1TEnEb80ztNLE+Dv8MS0RERERERERERERERERERERERERERERERERERERERERERERERERs+Q/rhi5WauEgfQAAAABJRU5ErkJggg=="
    },
    "description": "\nThe Customers API allows for the manipulation of a client's \"Customers\" as registered on the Bud platform. The API is built around resource-oriented URLs, returns JSON-encoded responses, uses standard HTTP response codes and authentication.\n"
  },
  "tags": [
    {
      "name": "Manage Customers",
      "x-displayName": "Manage Customers",
      "description": "Manage the number of customers registered onto the Bud platform.\n"
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "servers": [
    {
      "url": "https://api-sandbox.thisisbud.com",
      "description": "Bud US"
    }
  ],
  "paths": {
    "/platform/v3/customers": {
      "get": {
        "security": [
          {
            "OAuth2": []
          }
        ],
        "tags": [
          "Manage Customers"
        ],
        "summary": "Retrieve Customers V3",
        "description": "This endpoint is used to list customers associated with the current project.\n\nCustomers are listed ordered by their ID. Deleted customers will not be included in the list.\n\nThe list of customers can be filtered by creation date with the `date_from` and `date_to` query parameters, which expect dates in the RFC3339 format.\n\nIf more results pages are available, the response metadata object will contain a  `next_page_token` field which can be used to fetch the next page of results. The token should be provided in the `page_token` query parameter for subsequent requests.\n\nFor more information on how to manage your Bud Customers, please, refer to the following [guide](https://docs.thisisbud.com/docs/setup-customers)\n",
        "operationId": "platform_v3_customers_get",
        "parameters": [
          {
            "in": "header",
            "name": "X-Client-Id",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The API Client Identifier (Service Application Identifier).",
            "example": "8711bbef-b357-4c2d-97ca-0d9df4206e9a"
          },
          {
            "in": "query",
            "name": "date_from",
            "schema": {
              "type": "string"
            },
            "example": "2022-05-28T00:00:00Z",
            "description": "Date (RFC3339) to filter customers created on or after which. To maintain backwards compatibility, dates in the format (YYYY-MM-DD) can also be used and will be assumed to be UTC.\n"
          },
          {
            "in": "query",
            "name": "date_to",
            "schema": {
              "type": "string"
            },
            "example": "2022-05-29T00:00:00Z",
            "description": "Date (RFC3339) to filter customers created on or before which. To maintain backwards compatibility, dates in the format (YYYY-MM-DD) can also be used and will be assumed to be UTC. Uses the current date by default.\n"
          },
          {
            "name": "page_size",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000
            },
            "description": "Maximum number of results to be returned. Defaults to 200, maximum is 1000."
          },
          {
            "name": "page_token",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "The token required to fetch a specific page of results. Provided by the next_page_token field in the previous request.\n"
          },
          {
            "name": "idempotent_identifier",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Filter by the internal client identifier provided in the `client_metadata` object when creating the customer in __Create Customer V3__. Only one customer will be returned if one is found with the given identifier.\n"
          }
        ],
        "responses": {
          "200": {
            "description": "Returns a list of customers.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "List customers response",
                  "type": "object",
                  "description": "Expected response structure.",
                  "required": [
                    "operation_id",
                    "data"
                  ],
                  "properties": {
                    "operation_id": {
                      "title": "Operation Id Field",
                      "type": "string",
                      "description": "A unique identifier/reference associated with a given endpoint/operation"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "description": "Representation of a Customer.",
                        "required": [
                          "customer_id",
                          "created_at"
                        ],
                        "properties": {
                          "customer_id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "created_at": {
                            "type": "string",
                            "description": "Date and time at which the Customer has been registered (ISO 8601)."
                          },
                          "idempotent_identifier": {
                            "type": "string",
                            "description": "Client-assigned idempotent customer identifier (omitted if not present)."
                          }
                        }
                      }
                    },
                    "metadata": {
                      "type": "object",
                      "description": "Metadata that defines token-based pagination of results.",
                      "required": [
                        "results"
                      ],
                      "properties": {
                        "next_page_token": {
                          "type": "string",
                          "description": "Page token for next part of the result set, omitted if there are no other pages."
                        },
                        "results": {
                          "type": "integer",
                          "description": "The number of results returned."
                        }
                      }
                    }
                  }
                },
                "example": {
                  "operation_id": "platform_v3_customers_get",
                  "data": [
                    {
                      "customer_id": "acbff0b9-299c-4065-b933-4a991e17da6d",
                      "idempotent_identifier": "acbff0b9-299c-4065-b933-4a991e17da6d",
                      "created_at": "2019-02-27T06:11:57+0000"
                    },
                    {
                      "customer_id": "ebb50ae5-8c5c-4205-9b61-e93ce84eb467",
                      "created_at": "2019-02-27T06:11:57+0000"
                    }
                  ],
                  "metadata": {
                    "next_page_token": "eyJwYWdlX3NpemUiOjIsInBhZ2UiOjF9",
                    "results": 2
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request contains an invalid parameter.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Bad Request Response",
                  "type": "object",
                  "description": "Expected response structure",
                  "required": [
                    "operation_id",
                    "code_id",
                    "message",
                    "errors"
                  ],
                  "properties": {
                    "operation_id": {
                      "$ref": "#/paths/~1platform~1v3~1customers/get/responses/200/content/application~1json/schema/properties/operation_id"
                    },
                    "code_id": {
                      "type": "string",
                      "description": "A descriptive enough string that is linked to the reason for the error."
                    },
                    "message": {
                      "type": "string"
                    },
                    "errors": {
                      "anyOf": [
                        {
                          "title": "Error Object",
                          "type": "object",
                          "nullable": true,
                          "description": "Contains a field specific error message",
                          "additionalProperties": {
                            "type": "string"
                          }
                        },
                        {
                          "title": "Array of Error Object",
                          "description": "Contains a list of error messages",
                          "type": "object",
                          "additionalProperties": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      ]
                    }
                  }
                },
                "example": {
                  "operation_id": "platform_v3_customers_get_all",
                  "code_id": "bad_request",
                  "message": "invalid page token",
                  "errors": {
                    "page_token": [
                      "Failed to parse page token"
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "An unauthenticated request was received."
          },
          "405": {
            "description": "The request uses an unexpected HTTP method."
          },
          "5XX": {
            "description": "An unexpected error occurred on the server side."
          }
        }
      }
    },
    "/platform/v3/customers/{customer_id}": {
      "delete": {
        "security": [
          {
            "OAuth2": []
          }
        ],
        "tags": [
          "Manage Customers"
        ],
        "summary": "Remove Customer V3",
        "description": "This endpoint is used to delete an existing Customer. Calling this endpoint initiates deleting all data relating to a customer returning a task id that can be used to check the status of the delete task.",
        "operationId": "platform_v3_customers_delete",
        "parameters": [
          {
            "in": "path",
            "name": "customer_id",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "The customer identifier."
          },
          {
            "$ref": "#/paths/~1platform~1v3~1customers/get/parameters/0"
          }
        ],
        "responses": {
          "202": {
            "description": "The request was successfully accepted for processing and details of the task was returned.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Delete Customer V3 Response",
                  "type": "object",
                  "description": "Expected response structure.",
                  "required": [
                    "operation_id",
                    "data",
                    "metadata"
                  ],
                  "properties": {
                    "operation_id": {
                      "$ref": "#/paths/~1platform~1v3~1customers/get/responses/200/content/application~1json/schema/properties/operation_id"
                    },
                    "data": {
                      "title": "Customer Delete V3",
                      "type": "object",
                      "required": [
                        "task_id"
                      ],
                      "properties": {
                        "task_id": {
                          "title": "Task Id",
                          "type": "string",
                          "description": "Bud Task identifier returned from an async task for the requested action"
                        }
                      }
                    },
                    "metadata": {
                      "title": "Async Task Metadata",
                      "type": "object",
                      "description": "Metadata associated with an asynchronous task",
                      "properties": {
                        "status": {
                          "type": "string",
                          "description": "The status of the job associated with the specified task id",
                          "enum": [
                            "Completed",
                            "Pending",
                            "Failed"
                          ]
                        },
                        "next_url": {
                          "type": "string",
                          "description": "The URL to call to obtain the results of the task"
                        },
                        "next_url_delay": {
                          "type": "number",
                          "description": "The time in milliseconds that the client should wait before polling the relevant GET endpoint with the above task id"
                        }
                      }
                    }
                  }
                },
                "example": {
                  "operation_id": "platform_v3_customers_delete",
                  "data": {
                    "task_id": "e74efdd2-bd44-42b0-9562-106286664966"
                  },
                  "metadata": {
                    "status": "Pending",
                    "next_url": "/v3/customers/45cecf3f-8436-4b57-8953-cfdfbd2620d4/e74efdd2-bd44-42b0-9562-106286664966",
                    "next_url_delay": 50
                  }
                }
              }
            }
          },
          "401": {
            "description": "An unauthenticated request was received."
          },
          "404": {
            "description": "The resource was not found."
          },
          "405": {
            "description": "The request uses an unexpected HTTP method."
          },
          "5XX": {
            "description": "An unexpected error occurred on the server side."
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "/v1/oauth/token",
            "scopes": {}
          }
        },
        "description": "\nAuthentication flow:\n\n1. Perform OAuth2 Client Credentials authentication using API Credentials (`client_id`,`client_secret`) to obtain an `access_token` against `/v1/oauth/token` endpoint,\n2. Use `access_token` as Bearer Authorisation for every other API request,\n3. Include `X-Client-Id` (=client_id) within the header of every API request,\n4. Note that some of the requests may also require `X-Customer-Id` to be provided within the request header.\n\n### Examples\nObtain OAuth2 `access_token` and `refresh_token` using `grant_type=client_credentials` and HTTP Basic auth header\n\n```\ncurl --basic --user {{client_id}}:{{client_secret}} \\\n  -X POST https://api-sandbox.thisisbud.com/v1/oauth/token \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -d grant_type=client_credentials\n```\n\nSuccessful response:\n```\n{\n  \"operation_id\": \"oauth_token_post\",\n  \"data\": {\n    \"access_token\": \"dd0c17e3fd6d2ce94aa091257a3ea393b4f9b5cf3d3e998f07dc9826da86ff15\",\n    \"token_type\": \"bearer\",\n    \"expires_in\": 3600,\n    \"refresh_token\": \"fac32cca7559d9f6e8f1dfe9a99c71fa1dcfeb482bedf287d7934d2667ae54b3\"\n  }\n}\n```\n\nRefresh `access_token` token using `refresh_token` against `/v1/oauth/token` endpoint with `grant_type=refresh_token`\n\n```\ncurl -X POST \\\n  https://api-sandbox.thisisbud.com/v1/oauth/token \\\n  -H 'Content-Type: application/x-www-form-urlencoded' \\\n  -H 'X-Client-Id: {{client_id}}' \\\n  -d 'grant_type=refresh_token&refresh_token={{refresh_token}}'\n```\n\nSuccessful response:\n```\n{\n    \"operation_id\": \"oauth_token_post\",\n    \"data\": {\n        \"access_token\": \"cc0c17e3fd6d2ce94aa091257a3ea393b4f9b5cf3d3e998f07dc9826da86ff94\",\n        \"token_type\": \"bearer\",\n        \"expires_in\": 3600,\n        \"refresh_token\": \"ffc30cca7559d9f6e8f1dfe9a99c71fa1dcfeb482bedf287d7934d2667ae54b3\"\n    }\n}\n```\n"
      }
    }
  }
}
````