cURL
curl --request PUT \ --url https://grosh.muathye.com/api/budgeting/categories/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "kind": "expense", "name": "<string>", "is_active": true } '
{ "id": "<string>", "kind": "expense", "name": "<string>", "is_active": true, "account": { "id": "<string>", "name": "<string>", "code": "<string>", "type": "<string>", "is_active": true }, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
expense
income
150
Successful response
Show child attributes
Was this page helpful?