authentication

Create a new authentication token to use within the 'renterd_auth' cookie

Creates a new authentication token that is returned via the 'renterd_auth' cookie which is set by the server

post/api/auth

Query parameters

validityinteger required

The duration in milliseconds for which the token will be valid

Response

Successfully created a new token

Changes