Delete Biz department logically

DELETE/biz-departments/{id}

Delete Biz department logically.

Privileges:

  • bp-settings-lists.manage

Audit event:

  • biz.core.v2.biz.departments.delete

Errors:

  • BIZ_CORE:BIZ_DEPARTMENT_NOTFOUND - Biz department with given id not found.
  • BIZ_CORE:BIZ_DEPARTMENT_CANNOT_BE_DELETED - Biz department cannot be deleted.
Base URL
https://api-cpaas.sms.es/biz-core/v2
Authentication

OAuth2 — send Authorization: Bearer <access_token>. Token URL: https://accounts-cpaas.sms.es/oauth2/access-token

Request

Path parameters

idintegerrequired

id.

Request example

cURL · cURL
curl -L -X DELETE "https://api-cpaas.sms.es/biz-core/v2/biz-departments/{id}" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>"

Responses

Biz department deleted

application/json
canBeDeletedboolean
favoritestring
Possible values: yes, no
idinteger
namestring
statusstring
Possible values: active, inactive
statusDtstring (date-time)
Example response
{
  "canBeDeleted": true,
  "favorite": "yes",
  "id": 0,
  "name": "string",
  "status": "active",
  "statusDt": "2026-01-01T12:00:00Z"
}