Manage customer connections

PUT/customer-connections/{action}

Menage customer connections

Privileges: customer-connection-session-manager.manage

Auditlog Event: sms.session.manager.customer.connections.action.put

Errors:

  • SESSION_MANAGER_NO_PLATFORM_PREFIX - Platform prefix not found.
  • SESSION_MANAGER_AUTH_NAME_REQUIRED - Auth name is required
  • SESSION_MANAGER_ACTION_NOT_SUPPORTED - Given action not supported
  • SESSION_MANAGER_REDIS_NOT_FOUND - Redis not found
Base URL
https://api-cpaas.sms.es/bulk/sms-session-manager/v1
Authentication

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

Request

Path parameters

actionstringrequired

customer connection action

Possible values: stop

Body required

application/json
authNamestring

Request example

cURL · cURL
curl -L -X PUT "https://api-cpaas.sms.es/bulk/sms-session-manager/v1/customer-connections/{action}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>" \
  --data-raw '{
  "authName": "string"
}'

Responses

Action finished successfully

application/json
authNamestring
Example response
{
  "authName": "string"
}