Delete Business
DELETE/api/v2/admin/business/:businessId
Delete a business.
⚠️Warning:⚠️ all instances must be deleted or disconnected before deletion, or an exception will be raised.
Request
Path Parameters
businessId stringrequired
Business ID.
Query Parameters
force Force
Force the action to be performed.
Responses
- 200
- 400
- 401
- 500
BusinessCreateResponse
- application/json
- Schema
- Example (from schema)
Schema
businessId stringrequired
name stringrequired
businessToken stringrequired
attributes objectrequired
createdAt date-timerequired
updatedAt date-timerequired
deletedAt date-timerequired
{
"businessId": "string",
"name": "string",
"businessToken": "string",
"attributes": {},
"createdAt": "2024-04-14T14:11:05.598Z",
"updatedAt": "2024-04-14T14:11:05.598Z",
"deletedAt": "2024-04-14T14:11:05.598Z"
}
BadRequestException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
UnauthorizedException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
InternalServerErrorException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
Loading...