Business Channel Delete

When you call Business Channel Service with DELETE method, you can remove a business_channel on next4biz CRM.

Your request body must be contain 3 properties.

  • tenant_slug This is your subdomain on selphiu URL. For example: if your selphiu domain is “acme.selpihu.com” then your tenant_slug is “acme”
  • access_token next4biz CRM provide an access_token via access_token service. Every access_token expires after 15 minutes. Best Practice, you request a new access_token for each service request.
  • business_channel This is an array includes objects as business_channel property is an object contain you want to remove business_channel id. You must set id. This attribute can be id, _id or channel_id. You can sent 500 business_channel each request.
Name Value
REST-API METHOD Business Channel Delete
HTTP METHOD DELETE
RESPONSE TYPE JSON
URL https://api.crm.next4biz.com/business-channel/
REQUEST HEAD Accept: application/json; Content-Type: application/json
ENDPOINT DEFINITION
DEL
SAMPLE REQUEST BODY
{
	"tenant_slug": "acme",
	"access_token": "YOUR ACCESSTOKEN",
	"business_channel": [
		{
			"id": "100"
		}
	]
}
SAMPLE RESPONSE BODY
{
	"code": 200,
	"status": "Success",
	"result": [
		{
			"id": "100",
			"status": "Success"
		}
	]
}