When creating a tenant it's id will be set to the lowercase of the given name.
For example
POST /tenant
{
"name": "newTen42324ant3111",
"description": "tenant description",
"users": [
{
"name": "Petteri",
"roles": [
"data-provider"
]
}
]
}
GET /tenant/:id
{
"id": "newten42324ant3111",
"owner_id": "bdd2ec7e-8302-4115-a65f-36178e9874df",
"tenant_organization": "ea8ba710-fe87-4a22-8ab3-00ca661c2078",
"name": "newTen42324ant3111",
"description": "tenant description",
"users": [
{
"id": "bdd2ec7e-8302-4115-a65f-36178e9874df",
"name": "Petteri",
"roles": [
"data-consumer",
"data-provider"
]
}
],
"options": {}
}
When creating a tenant it's id will be set to the lowercase of the given name.
For example
POST /tenant
{
"name": "newTen42324ant3111",
"description": "tenant description",
"users": [
{
"name": "Petteri",
"roles": [
"data-provider"
]
}
]
}
GET /tenant/:id
{
"id": "newten42324ant3111",
"owner_id": "bdd2ec7e-8302-4115-a65f-36178e9874df",
"tenant_organization": "ea8ba710-fe87-4a22-8ab3-00ca661c2078",
"name": "newTen42324ant3111",
"description": "tenant description",
"users": [
{
"id": "bdd2ec7e-8302-4115-a65f-36178e9874df",
"name": "Petteri",
"roles": [
"data-consumer",
"data-provider"
]
}
],
"options": {}
}