Platform

Grant platform app access to vaults/agents

User-authenticated. Grant the platform app access to selected vaults and agents. Validates user ownership of all requested resources. Creates platform_user_grants entries and merges resource IDs into the connection record.

post/v1/platform/connections/{connectionId}/grant

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/platform/connections/{connectionId}/grant
  • Auth: HTTP bearer

Path parameters

connectionIdstring uuid required

Request body

vault_idsstring[]

Vault IDs to grant access to

agent_idsstring[]

Agent IDs to grant access to

allowed_pathsstring[]

Secret path patterns the app can access

permissionsstring[]

Permissions granted (read, write, rotate)

expires_atstring date-time

Optional grant expiration

Response

Grants created

connection_idstring uuid
vault_idsstring[]
agent_idsstring[]

Changes

No recorded changes to this operation across all 2 revisions of this API.