Comments (4)
Hi @leflamm,
Your account is located in the EU region, you need to make the api calls to this domain: api-eu.logz.io.
Please let me know if the issue still persists.
from public-api.
Hi, thanks for your reply. This issue is gone! However I could use some more help :-)
There are a couple of places where I can obtain a token:
- Settings > General > Account's token
- Tools > Shared Tokens
- https://app-eu.logz.io/#/dashboard/settings/api-tokens
Also I've read examples in which one should use the token as either
X-USER-TOKEN
orX-API-TOKEN
Regardless of which combination I'm trying I'm always receiving
curl -X GET -H 'X-USER-TOKEN: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' -H 'Content-Type: application/json' https://api-eu.logz.io/v1/alerts
{"code":403,"message":"Insufficient privileges"}
curl -X GET -H 'X-API-TOKEN: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' -H 'Content-Type: application/json' https://api-eu.logz.io/v1/alerts
{"code":403,"message":"Insufficient privileges"}
Seems to me like I don't fully understand what I have to do here. Can you help me? Thanks in advance!
from public-api.
@asafalima, might this be the reason?
At "Usage & Billing" is states
from public-api.
@leflamm, All your requests should include X-API-TOKEN
(no X-USER-TOKEN
) with token from the api-tokens page.
This repo is deprecated, you can use our updated docs here: https://docs.logz.io/api/
from public-api.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from public-api.