Create a new label

Add a new label to a label group.

Note

This operation is not supported for externally managed labels.

The labels are used for accounting and can be applied to your financial records, such as expenses.

For more details, see the guides: Manage accounting settings and Manage labels and label groups.

Request

Path parameters
Path parameters

Example: "09ad1ad3-a1c0-4c09-b8f8-24b439e72690"

The ID of the label group to which to add the new label.

Request body
Body object

Possible length: non-empty and <= 100 characters

The name for the new label.

Response

Resource created

On successful creation, the response returns only the ID of the new resource (i.e. the label), even if the resource has more properties. To get more details, use the ID of the parent label group to get all the labels from the label group.

Response body
Body object

The ID of the created resource.

Was this page helpful?