Authentication allows you create and delete tokens.
Generates token.
None.
None.
None.
Body must be x-www-form-urlencoded
.
- username (string, required) - Name of the user.
- password (string, required) - Password of the user.
username: guacadmin
password: guacadmin
- 200 - OK
Returns a JSON object.
- authToken (string) - Auth token.
- username (string) - Username.
- dataSource (string) - Datasource.
- availableDatasources (array) - List of available data sources.
{
"authToken": "0BDA2CED0580DEB052C34B596AB401993BFD66551FADEF06FC7144F1D6318EE8",
"username": "guacadmin",
"dataSource": "postgresql",
"availableDataSources": ["postgresql", "postgresql-shared"]
}
Deletes token.
None.
- token (string, required) - Auth Token
None.
None.
- 204 - No Content
This request does not return a response body.