Endpoint
/api/v2/tenants/{tenantId}/rba/categories
Path Parameters
tenantIdstring
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
tenantIdstring
namestring
Name of the category
parentobject
Child Parameters
- parent.id
- (Optional) Specify the parent ID of the category to create a subcategory.
{
"name": "CLIENT-Category",
"parent": {
"id": 27
}
}
Responses
OK
idinteger
namestring
{
"id": 28,
"name": "CLIENT-Category"
}
Endpoint
/api/v2/tenants/{tenantId}/rba/categories
Path Parameters
tenantIdstring
idinteger
namestring
Name of the category
{
"id": 22,
"name": "CLIENT-Category_UpdatedName"
}
Responses
OK
idinteger
namestring
{
"id": 22,
"name": "CLIENT-Category_UpdatedName"
}