Nile Documentation home pagelight logodark logo
  • Community
  • Get Started
  • Get Started
users
lists tenants of user
Postgres
Auth
AI
Platform
ManagementAPI
Auth API
Pricing
Templates
Discord
auth
  • POST
    Sign in to the application
  • POST
    Sign out of the application
  • GET
    Get the current session
  • GET
    Get CSRF token
  • GET
    Get available providers
  • POST
    Handle provider callback
  • POST
    Refresh session token
  • GET
    Retrieve password token
  • PUT
    Resets the password
  • POST
    Reset password
users
  • GET
    Identify the principal
  • PUT
    update the principal profile
  • POST
    Signs up a new user
  • PUT
    links an existing user to a tenant
  • DEL
    Unlinks a user from a tenant
  • PUT
    update a user
  • GET
    a list of tenant users
  • POST
    create a new user and assigns them to a tenant
  • GET
    lists tenants of user
  • POST
    Creates a user
tenants
  • GET
    get a tenant
  • PUT
    update a tenant
  • DEL
    delete a tenant
  • POST
    creates a tenant
users

lists tenants of user

lists the tenants associated with a user

GET
/
v2
/
databases
/
{database}
/
users
/
{userId}
/
tenants
{
  "id": "<string>",
  "name": "<string>"
}

Path Parameters

​
database
string
required
​
userId
string
required

The id of of the user

Response

200
application/json
User created

The response is of type object.

Was this page helpful?

create a new user and assigns them to a tenantCreates a user
{
  "id": "<string>",
  "name": "<string>"
}
Nile Documentation home pagelight logodark logo
xgithublinkedindiscord

Resources

BlogPricingTemplatesCommunity

Company

CareersAbout

Support

Contact SalesGet HelpFAQ
xgithublinkedindiscord
Powered by Mintlify