> For the complete documentation index, see [llms.txt](https://api-kit.prix.im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-kit.prix.im/platform/remove-managed-business.md).

# 생성한 비즈니스 삭제 API

플랫폼 서비스에서 생성한 비즈니스 계정을 삭제할 수 있도록 API를 제공합니다.

<br>

## `DELETE` kit-api/v1/business/managing/\[managedBusinessUuid]

Method: DELETE\
Endpoint: kit-api/v1/business/managing/\[managedBusinessUuid]

<br>

## Example

```
.../kit-api/v1/business/managing/686961a8-3975-4ad5-bf4e-134706efee15
```

<br>

## Request Path 파라미터

| Key                 | Description        | Required |
| ------------------- | ------------------ | -------- |
| managedBusinessUuid | 삭제할 비즈니스의 식별값 UUID | yes      |

<br>

## Response

```json
{
  "ok": true
}
```

```json
{
  "ok": false, // api 실패
  "message": "error message", // Error가 존재하면 message(string)로 전달
  "errorCode": "ERROR_CODE"
}
```

<br>

## Error Codes

| Status Code | Error Code               | Description                               |
| ----------- | ------------------------ | ----------------------------------------- |
| 401         | UNAUTHORIZED\_API\_KEY   | API Key가 유효하지 않은 경우                       |
| 403         | FORBIDDEN\_BUSINESS\_KEY | API Key에 이 API를 사용할 권한이 존재하지 않는 경우        |
| 403         | FORBIDDEN\_BUSINESS      | 해당 API Key로 생성한 비즈니스가 아닌 경우               |
| 404         | NOT\_FOUND\_BUSINESS     | API Key에 연결된 비즈니스 또는 삭제할 비즈니스가 존재하지 않는 경우 |

<br>
