curl --request PATCH \
--url https://api.meetcampfire.com/coa/api/budgets/{budget_pk}/accounts/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"period": 1,
"amount": 0
}'
{
"id": 123,
"account_name": "<string>",
"account_lineage": "<string>",
"department_name": "<string>",
"period": 1,
"amount": 0,
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"budget": 123,
"account": 123,
"department": 123
}
curl --request PATCH \
--url https://api.meetcampfire.com/coa/api/budgets/{budget_pk}/accounts/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"period": 1,
"amount": 0
}'
{
"id": 123,
"account_name": "<string>",
"account_lineage": "<string>",
"department_name": "<string>",
"period": 1,
"amount": 0,
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"budget": 123,
"account": 123,
"department": 123
}
Token-based authentication with required prefix "Token"
The response is of type object
.