Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Peteri1111 opened this issue Nov 2, 2021 · 0 comments
Open

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

Peteri1111 opened this issue Nov 2, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@Peteri1111
Copy link

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

@Peteri1111 Peteri1111 added the documentation Improvements or additions to documentation label Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant