Skip to content

Document API for tenant onboarding #78

Answered by brtrvn
AffiTheCreator asked this question in Q&A
Discussion options

You must be logged in to vote

Please add a feature request for this and we'll get it prioritized.

The short version to get you going:

  1. Get the API Gateway stage URL for the public API from the API Gateway console. Go to API Gateway -> Select the public API -> Click on Stages from the left-hand menu -> Click on v1 in the list of stages -> Copy the Invoke URL
  2. Execute an HTTP POST to INVOKE_URL/users/token with a body containing a valid username and password (your admin user and password)
    {"username": "admin", "password": "my-password"}
  3. Capture the value of the accessToken from the response to use as your JWT bearer token in subsequent requests
  4. Execute a HTTP POST to INVOKE_URL/tenants with a body containing your onboard…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PoeppingT
Comment options

Answer selected by PoeppingT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants