token
Get a new admin access token
Returns an access token and its expiration
get/token
Request
- Base URL/api/v2 (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-SFTPGO-OTPstring
If you have 2FA configured for the admin attempting to log in you need to set the authentication code using this header parameter
Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.