Endpoint
/api/v2/tenants/{tenantId}/rba/categories
Path Parameters
tenantId
string

Describes the client ID or msp ID of the tenant

Responses

OK

[
  {
    "id": 1,
    "name": "Miscellaneous"
  },
  {
    "childs": [
      {
        "childs": [
          {
            "id": 33,
            "name": "child-1-child"
          }
        ],
        "id": 17,
        "name": "Child-1"
      },
      {
        "id": 18,
        "name": "Child-2"
      },
      {
        "id": 19,
        "name": "Child-3-client"
      }
    ],
    "id": 16,
    "name": "API Task Category"
  },
  {
    "childs": [
      {
        "id": 8,
        "name": "QuickBooks"
      }
    ],
    "id": 7,
    "name": "Applications"
  },
  {
    "id": 31,
    "name": "C_Category"
  },
  {
    "childs": [
      {
        "id": 25,
        "name": "SP_Category_child"
      },
      {
        "id": 26,
        "name": "MSP-Category"
      }
    ],
    "id": 24,
    "name": "SP_Category"
  },
  {
    "id": 13,
    "name": "Test Global Category"
  }
]
Endpoint
/api/v2/tenants/{tenantId}/rba/categories
Path Parameters
tenantId
string

Describes the client ID or msp ID of the tenant

name
string

Name of the category

parent
object

parent.id
(Optional) Specify the parent ID of the category to create a subcategory.
{
  "name": "CLIENT-Category",
  "parent": {
    "id": 27
  }
}

Responses

OK

id
integer

name
string

{
  "id": 28,
  "name": "CLIENT-Category"
}
Endpoint
/api/v2/tenants/{tenantId}/rba/categories
Path Parameters
tenantId
string

Describes the client ID or msp ID of the tenant

id
integer

name
string

Name of the category

{
  "id": 22,
  "name": "CLIENT-Category_UpdatedName"
}

Responses

OK

id
integer

name
string

{
  "id": 22,
  "name": "CLIENT-Category_UpdatedName"
}