Skip to main content
PUT
/
account
/
{accountId}
Actualizar cuenta
curl --request PUT \
  --url https://api.goil.com/api/v1/external/account/{accountId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": "<string>",
  "attributesValue": [
    {
      "attributeId": "<string>",
      "value": {
        "text": "",
        "number": 0,
        "boolean": false,
        "date": "2023-11-07T05:31:56Z",
        "image": "<string>"
      },
      "tag": "<string>"
    }
  ]
}
'
{
  "data": {
    "message": "<string>"
  }
}

Path Parameters

accountId
string
required

ID de la cuenta (MongoDB ObjectId)

Body

application/json
phone
string
attributesValue
object[]

Response

OK

data
object