Activity and account

Create a new API key. REPLACES your current one

Asks for your password and, when an authenticator app is enrolled, a code from it, exactly like the dashboard. You get one key per account, so this replaces the key you are using right now: copy the new one from the response or you will lock yourself out. Shown once only.

This is a write: a read-only API key is refused with 403.

post/api/account/apikey/generate

Request

  • Base URL: https://eyalsec.com
  • URL: https://eyalsec.com/api/account/apikey/generate
  • Auth: one of:
    • API key in header X-API-Key
    • API key in cookie __Host-es2session

Response

OK.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.