Skip to content
by Unity Nodes
Partner docsapi reference › admin › add or update an aml allowlist entry admin only

NEAR AI Cloud: Add or update an AML allowlist entry (Admin only)

Updated 13-11-2026

POST /v1/admin/aml/allowlist Add or update an AML allowlist entry (Admin only) Deprecated: this endpoint is moving to cloud-platform at the same path; the cloud-platform base URL will be announced. Behaviour may differ in edge cases.

Admin permissions: admin session or read_write token. A read_only token receives HTTP 403 with error.type insufficient_permissions before the handler runs.

Request body (application/json):

  • account_id (string, required)
  • reason (string)

Responses: 200: AML allowlist entry upserted successfully

  • account_id (string, required)
  • address_type (string, required)
  • created_at (string, date-time, required)
  • created_by_user_id (string)
  • reason (string) 400: Invalid request 401: Unauthorized 403: Forbidden Missing admin privileges (forbidden) or insufficient token permission (insufficient_permissions). 500: Internal server error