Update WebSocial

PUT/web-socials/{id}

Update WebSocial data by id.

Privileges:

  • biz-core.manage - Logged user can update WebSocial data for all WebSocials.

Audit event:

  • biz.core.v2.web.social.update

Errors:

  • WEB_SOCIAL_NOT_FOUND - WebSocial not found

Validation errors:

  • invalid value - Name of the WebSocial must be provided
  • invalid value - Value of the WebSocial must be provided
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.

Body required

application/json
namestringrequired
max length: 50
valuestring
max length: 1000

Request example

cURL · cURL
curl -L -X PUT "https://api-cpaas.sms.es/biz-core/v2/web-socials/{id}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>" \
  --data-raw '{
  "name": "string",
  "value": "string"
}'

Responses

WebSocial updated

application/json
idinteger
namestring
sectionRowIdinteger
statusstring
Possible values: active, deleted
statusDtstring (date-time)
valuestring
Example response
{
  "id": 0,
  "name": "string",
  "sectionRowId": 0,
  "status": "active",
  "statusDt": "2026-01-01T12:00:00Z",
  "value": "string"
}