Gifli API Docs
Api

Rotate API key

Generate a new API key for the app. The old key is immediately invalidated. Owner only.

POST
/apps/{id}/rotateKey

Authorization

BearerAuth
AuthorizationBearer <token>

Pass a user session token (from /auth/login) or an app API key (gk_…).

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/apps/string/rotateKey"
{  "apiKey": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}