Create a new authentication token
Creates a new authentication token that is returned via the 'renterd_auth' cookie which is set by the server and the json response body. The token can be used as a cookie or as the 'apikey' query parameter for authentication.
Query parameters
A duration in milliseconds
The duration in milliseconds for which the token will be valid
Response
Successfully created a new token
Changes
Changed in 3 of the 50 revisions of this API.22
- ▲
removed the success response with the status
204response-success-status-removed
- ○
added the success response with the status
200response-success-status-added
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 99 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲