API keys

Change a key's IP allow-list

Set where the key may be used from: addresses or CIDR ranges (up to 20). An empty list lets it work from anywhere again. Applies from its next request.

patch/api/v1/keys/{id}

Request

  • Base URL: https://spoofy.social
  • URL: https://spoofy.social/api/v1/keys/{id}
  • Auth: API key in cookie better-auth.session_token

Path parameters

idstring required

Key id.

Request body

allowedIpsstring[] required

Response

Updated.

Changes

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