Skip to content

tenant id is always set to lowercase of tenant name #14

@Peteri1111

Description

@Peteri1111

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": {}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions