Skip to main content

Update a category

PUT 

/api/v8/partner/categories/:id

Update a category

Request​

Path Parameters

    id int64required

    The unique identifier of the .

Body

    name (string | null)

    Possible values: non-empty and <= 250 characters

    The new name. It is renamed for every user of the account, and the documents that have the category keep it.

    is_default (boolean | null)

    Whether the category is one of the account's default categories.

Responses​

A category response.

Schema
    id integerrequired

    Possible values: > 0

    The unique identifier of the category.

    name stringrequired

    Possible values: non-empty

    The name of the category.

    is_default booleanrequired

    Whether the category is one of the account's default categories, the list used to categorize documents.

Loading...