Update Attribute section

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

Update Attribute section.

Privileges:

  • bp-settings-custom-fields.manage

Audit event:

  • biz.core.v2.attribute.section.update

Errors:

  • BIZ_CORE:ATTRIBUTE_SECTION_NOTFOUND - Attribute section with given attributeId and sectionId not found.

Validation errors:

  • BIZ_CORE:ATTRIBUTE_SECTION_STATUS_REQUIRED - Status of the Attribute section must be provided.
  • BIZ_CORE:ATTRIBUTE_SECTION_STATUS_NOT_SUPPORTED - Status of the Attribute section is not supported.
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

Body

application/json
statusstring
Possible values: active, inactive

Request example

cURL · cURL
curl -L -X PUT "https://api-cpaas.sms.es/biz-core/v2/attributes/{id}/attribute-sections/{secId}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>" \
  --data-raw '{
  "status": "active"
}'

Responses

Attribute section updated successfully

application/json
attributeIdinteger
attributeSectionTagsobject[]
Show child attributes
attributeIdinteger
attributeTagCategoryIdinteger
attributeTagCodeNamestring
attributeTagNamestring
attributeTagRowTypestring
attributeTagStatusstring
attributeTagStatusDtstring
insertTsstring (date-time)
sectionIdinteger
tagIdinteger
attributeStatusstring
Possible values: active, inactive, deleted
dbCodeNamestring
sectionCodeNamestring
sectionIdinteger
sectionNamestring
sectionStatusstring
Possible values: active, inactive, deleted
statusstring
Possible values: active, inactive, deleted
statusDtstring (date-time)
Example response
{
  "attributeId": 0,
  "attributeSectionTags": [
    {
      "attributeId": 0,
      "attributeTagCategoryId": 0,
      "attributeTagCodeName": "string",
      "attributeTagName": "string",
      "attributeTagRowType": "string",
      "attributeTagStatus": "string",
      "attributeTagStatusDt": "string",
      "insertTs": "2026-01-01T12:00:00Z",
      "sectionId": 0,
      "tagId": 0
    }
  ],
  "attributeStatus": "active",
  "dbCodeName": "string",
  "sectionCodeName": "string",
  "sectionId": 0,
  "sectionName": "string",
  "sectionStatus": "active",
  "status": "active",
  "statusDt": "2026-01-01T12:00:00Z"
}