ApiExpenses

Update Expense

PATCH
/public/v1/expenses/{expenseId}

Updates one expense by id.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

expenseId*string

Request Body

application/json
  1. body
[key: string]?any

Response Body

Successful response

application/json
  1. response
data?
[key: string]?any
Example Request
curl -X PATCH 'https://api.agiled.ai/public/v1/expenses/string' \  -H 'Content-Type: application/json' \  -d '{  "name": "Example Expense"}'
Example Response
{  "data": {    "created_at": "string",    "id": "string",    "updated_at": "string"  }}