Developers
API ReferenceFinance Unit

Creates a FinanceUnit resource.

POST
/finance/finance-units

Creates a FinanceUnit resource.

Authorization<token>

Value for the Authorization header parameter.

In: header

Request Body

The new FinanceUnit resource

TypeScript Definitions

Use the request body type in TypeScript.

name*string
Length1 <= length <= 20
isDefault*boolean

Response Body

curl -X POST "https://example.com/finance/finance-units" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "isDefault": true  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "isDefault": true}