Page History
...
Generating EDL User Token via the API.
/api/users/token
Allowed Methods
POST
Description
Creates a new user token. `Authorization: Basic` header with Base64 encoded user credentials is required for creating a new user token.
|
Examples
Notes | Request | Response | ||
---|---|---|---|---|
Status Code 200 with user credentials in the header |
| Status Code: 200
| ||
If the user already has maximum allowed(2) user tokens | curl --request POST \ --url 'http: //localhost:3000/api/users/token -H 'Authorization: Basic Base64encodedcredentials" | Status Code: 403
| ||
Invalid credentials or Missing header with credentials | Status Code: 401
|
Overview
Content Tools