Skip to content

Commit cbf8f22

Browse files
awileysnykgitbook-bot
authored andcommitted
GITBOOK-9146: API authentication page, add warning to use URL for your region
1 parent 5149028 commit cbf8f22

File tree

1 file changed

+4
-0
lines changed
  • docs/snyk-api/rest-api/authentication-for-api

1 file changed

+4
-0
lines changed

docs/snyk-api/rest-api/authentication-for-api/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
To use the Snyk API, you must be an Enterprise plan customer and have a token from Snyk.
77
{% endhint %}
88

9+
{% hint style="warning" %}
10+
Use the URL for your region when calling an API. See [API URLs](../about-the-rest-api.md#api-urls).
11+
{% endhint %}
12+
913
Enterprise users have [access to a personal token under their profile](./#how-to-obtain-your-personal-token) and to service account tokens. The personal API token is associated with your Snyk Account and not with a specific Organization. Service accounts are associated with an Organization or a Group. For more information, see [Service accounts](../../../enterprise-setup/service-accounts/).
1014

1115
* **Enterprise users should use a service account** to authenticate for any kind of automation. This includes, but is not limited to, CI/CD scanning with the CLI or build system plugins and any automation, including automation with the API.

0 commit comments

Comments
 (0)