Settings

Last updated 4 months ago

These endpoints allow you to modify various Gophish settings.

post
Reset API Key

https://localhost:3333
/api/reset
This endpoint allows you to reset your API key to a new, randomly generated key. This method requires you to authenticate using your existing API key.
Request
Response
Headers
Authorization
required
string
The existing API key.
200: OK
API key successfully reset. The new API key is provided in the data response parameter.
{
"success": true,
"message": "API Key successfully reset!",
"data": "0123456789abcdef"
}

‚Äč