Skip to main content

MicrotenantRoleCollection Schema

Data structure for Microtenant Role Collection objects.

Item Type​

This is a collection (list) of MicrotenantRole items.

Usage​

# Example: Working with MicrotenantRoleCollection
items = [
{"id":1,"name":"name-value-1","custom_role":true},
{"id":2,"name":"name-value-2","custom_role":true}
]

# Pass to an action that requires this collection type
resource.some_action(body=items)

JSON Example​

[
{
"id": 1,
"name": "name-value-1",
"custom_role": true
},
{
"id": 2,
"name": "name-value-2",
"custom_role": true
}
]