Accounts

Assign an allow or deny list to an API key

Requires api_keys:m.

put/v1/accounts/{id}/api-keys/{keyId}/lists/{mode}

Request

  • Base URL: https://api.honkio.ca
  • URL: https://api.honkio.ca/v1/accounts/{id}/api-keys/{keyId}/lists/{mode}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

idstring required
keyIdstring required
mode'allow' | 'deny' required

Request body

list_idstring required

Response

The list now assigned.

api_key_idstring required
mode'ALLOW' | 'DENY' required
list_idstring required

Changes

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