Companies

Create a category for a company

Creates a category for the company. The category must include at least 2 inner values. Validation: A company can have a maximum of 5 categories. The user PAT needs to have the scope mx:app:categories:write. The user must be a company admin. The code of the provided values can be passed as an empty string. A code will be generated based on the provided input for the values.

post/companies/{company-id}/categories

Request

  • Base URL
    https://categories-api.home.mendix.com/v1
  • Auth
    API key in header Authorization

Path parameters

company-idstring required

Request body

namestring

Name of the category

Response

Category created

categoryIdstring

Unique identifier for the category

namestring

Name of the category

Changes

No recorded changes to this operation across all 1 revision of this API.