Cloud API
Authentication
Login
Login generates a JWT token that can be used to access other Dgraph Cloud APIs.
This API requires an email address and password. If you have signed up with a
social media provider, you may create a new password by selecting
Forgot Password
on the login page.
Cloud endpoint
API command
Arguments
email
: your email addresspassword
: your password
Example
Below is an example request and response. The token below must be passed to all
future API calls as a bearer token in the Authorization
header.
Using the authentication token
The token returned from the login API must be passed to all future API calls as
a bearer token in the Authorization
header.