Delete Attribute section

DELETE/attributes/{id}/attribute-sections/{secId}

Delete Attribute section.

Privileges:

  • bp-settings-custom-fields.manage

Audit event:

  • biz.core.v2.attribute.section.delete

Errors:

  • BIZ_CORE:ATTRIBUTE_SECTION_NOTFOUND - Attribute section with given attributeId and sectionId not found.
  • BIZ_CORE:ATTRIBUTE_SECTION_ACTIVE_CANT_BE_DELETED - Attribute section with given attributeId and sectionId is active and cannot be deleted.
  • BIZ_CORE:ATTRIBUTE_SECTION_IN_USE_CANNOT_BE_DELETED - Attribute section with given attributeId and sectionId is in use and 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.

secIdintegerrequired

Section id

Request example

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

Responses

Attribute section deleted successfully