SMS User

Update

Update an existing SMS User record by ID.

put/api/cp/sms-user/{id}

Path parameters

idinteger required

Id identifier

Request body

idinteger

Id

company_idinteger

Company Id (references company.id)

usernamestring

Username (unique)

hashstring

Hash

protocolstring[]

Protocol

Example request

{
  "id": 12345,
  "company_id": 1,
  "username": "john_doe",
  "hash": "example_hash",
  "protocol": "http"
}

Response

Operation completed successfully

statusstring

Operation status

Example response

{
  "status": "OK"
}

Changes