Access

Specify Connection Access

Specify connection access restrictions for an access key (auto-scoped).

The scope is determined automatically from the target event access key's organization and project context. Permission checks are applied accordingly:

  • User-level keys: caller must own the key.
  • Organization-level keys: caller must have access:update permission in the organization.
  • Project-level keys: caller must have access:update permission in the project.

Global methods apply to all connections unless overridden by a rule. Each rule targets a specific platform or connection and can override the global methods. When rules are present, only matching connections/platforms are allowed.

Connection IDs in rules are validated to exist within the same scope as the access key.

post/v1/access/{id}

Request

  • Base URL: https://api.withone.ai
  • URL: https://api.withone.ai/v1/access/{id}
  • Auth: API key in header X-One-Secret

Path parameters

idstring required

Prefixed ID with 'evt_ac' prefix (e.g., 'evt_ac_1C'), also accepts raw integer

Event access key ID

Request body

methodsMethod[] nullable

Response

Access restrictions applied

Changes

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