Get token
This resource will return an authentication token that needs to be sent in the X-Auth-Token header of every request that requires authentication. The token will remain valid until a new token is generated.
Warning
This token never expires, which makes it less secure. It is recommended to create a new token using OAuth instead.
Body parameters
| Name | Type | Description |
|---|---|---|
user_name | String | The username to authenticate with. |
password | String | The password to authenticate with. |
Body examples
Response
| Response | Description |
|---|---|
200 Ok | Returns the token to be used in the X-Auth-Token header |
Response examples
If you have suggestions for improving this article, let us know!