curl --request PATCH \
--url https://api.sandbox.getasset.com/v0/business/{business_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "New Roofing Pros",
"status": "active",
"plaid_user_token": "user-sandbox-067d33a3-b015-76b0-8000-9b6e63d60ac4"
}'
{
"data": {
"tenant_id": "<string>",
"name": "<string>",
"industry": "<string>",
"entries_start": "2023-11-07T05:31:56Z",
"entity_type": "c-corp",
"fiscal_year": "<string>",
"status": "active",
"plaid_user_token": "<string>",
"id": "<string>"
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
The response is of type object
.
curl --request PATCH \
--url https://api.sandbox.getasset.com/v0/business/{business_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "New Roofing Pros",
"status": "active",
"plaid_user_token": "user-sandbox-067d33a3-b015-76b0-8000-9b6e63d60ac4"
}'
{
"data": {
"tenant_id": "<string>",
"name": "<string>",
"industry": "<string>",
"entries_start": "2023-11-07T05:31:56Z",
"entity_type": "c-corp",
"fiscal_year": "<string>",
"status": "active",
"plaid_user_token": "<string>",
"id": "<string>"
}
}
curl --request PATCH \
--url https://api.sandbox.getasset.com/v0/business/{business_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "New Roofing Pros",
"status": "active",
"plaid_user_token": "user-sandbox-067d33a3-b015-76b0-8000-9b6e63d60ac4"
}'
{
"data": {
"tenant_id": "<string>",
"name": "<string>",
"industry": "<string>",
"entries_start": "2023-11-07T05:31:56Z",
"entity_type": "c-corp",
"fiscal_year": "<string>",
"status": "active",
"plaid_user_token": "<string>",
"id": "<string>"
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
The response is of type object
.
curl --request PATCH \
--url https://api.sandbox.getasset.com/v0/business/{business_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "New Roofing Pros",
"status": "active",
"plaid_user_token": "user-sandbox-067d33a3-b015-76b0-8000-9b6e63d60ac4"
}'
{
"data": {
"tenant_id": "<string>",
"name": "<string>",
"industry": "<string>",
"entries_start": "2023-11-07T05:31:56Z",
"entity_type": "c-corp",
"fiscal_year": "<string>",
"status": "active",
"plaid_user_token": "<string>",
"id": "<string>"
}
}