Security
oauth2ClientCredentials(Required scopes: categories:write)
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/categories/{id}
- Productionhttps://api.boyahq.com/v2/categories/{id}
- Sandboxhttps://sandbox.api.boyahq.com/v2/categories/{id}
curl -i -X PUT \
'https://developer.boyahq.com/_mock/v2/openapi/categories/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'business_id: string' \
-H 'org_wallet_ref: string' \
-d '{
"groupid": "5",
"name": "Office Expenses",
"description": "Office Expenses"
}'Category updated successfully
Response
{ "_id": "string", "groupid": "string", "name": "string", "description": "string", "subcategories": [ { … } ], "status": "ACTIVE", "createdAt": "string", "updatedAt": "string", "__v": 0 }