Skip to main content
PATCH
/
v1
/
accounts
/
{accountId}
Activate the account of the customer
curl --request PATCH \
  --url https://client-api.dev.finhost.io/v1/accounts/{accountId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "companyId": "<string>",
  "product": "internal-in"
}
'
{
  "id": "db4e04c3-4756-f3c4-7497-be928c51135",
  "entity": "account",
  "operation": "async",
  "status": "processed"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accountId
string
required

Account id

Body

application/json
companyId
string
product
enum<string>
Available options:
internal-in

Response

200 - application/json

The account activation is stated

id
string

Requested entity ID

Example:

"db4e04c3-4756-f3c4-7497-be928c51135"

entity
string

Requested entity

Example:

"account"

operation
enum<string>

Operation type

Available options:
sync,
async
Example:

"async"

status
enum<string>

Operation status

Available options:
queue,
processed,
pending
Example:

"processed"