/query
/mutate
/commit
Dg-Auth
or
X-Auth-Token
header of every HTTP request.
Client apps accessing the Dgraph Cloud cluster endpoints
/admin
/admin/slash
/alter
Dg-Auth
or X-Auth-Token
header
of every HTTP request.
Client apps accessing the Dgraph Cloud cluster endpoint
/graphql
Dg-Auth
or X-Auth-Token
header of every HTTP request.
Client API keys can only be used to perform query, mutation, and commit
operations.
Admin API keys can be used to perform both client operations and admin
operations like drop data, destroy backend, and update schema.
Generate a new API
To generate a new API key :- Go to the Settings section of Dgraph Cloud console.
- Access
[API Keys](https://cloud.dgraph.io/_/settings?tab=api-keys)
tab. - Click Create New button.
- Give the key a name, and select
Client
orAdmin
type and click Create - Copy the key in a safe place, it isn’t accessible once you leave the page.