Update Account


                https://api.ocamba.com/v2/ocamba/accounts/{id}
            

Updates the specific Account by setting the values of the parameters passed. Any parameters not provided will be left unchanged


Name
Description
idstringrequired
Unique account id.


Example: id=423

Name
Description
contacts[ account-contact ]
List of account contacts.
Account Contact
Name
Description
typestring
Describes type of the contact.


Example: email

Possible values: phone | mobile | skype | sip | email | website

valuestring
The actual contact, based on contact type. For example, if contact type is email, the value must be a valid email address.


Example: [email protected]

feedsobject

Name
Description
postbacksstring



Example: https://google.com

namestringrequired
Name of the account.


Example: Demo account

statusstringrequired
The status reflects the current status of the account which may be overridden by some background processes.


Example: active

Possible values: active | verification | rejected paused | inactive | archived | hourly-limit | daily-limit | monthly-limit | lifetime-limit

Default: active

204 - No Content
Arrow

note
1 At least one of the updatable fields should be sent via HTTP body in order to change the current state of the account.
tip
1 If you don't know the account id, list the account to find it.

200 Arrow
{
  "status": "active",
  "configured_status": "active",
  "name": "Demo_account",
  "image": "https://path/logo.jpeg",
  "contacts": [
    {
      "id": "95eb301b-6aaf-42ad-a219-ccbd5f4d3d2b",
      "value": "[email protected]",
      "type": "email"
    }
  ],
  "feeds": {
    "postbacks": "https://google.com"
  },
  "is_default": 1
}