Skip to main content

Put Internal Users Owner Id Mcp Connections Mcp Connection Id Ads Access Connection Id

PUT 

/internal/users/:ownerId/mcp-connections/:mcpConnectionId/ads-access/:connectionId

Sets the rights of one MCP connection on one current Ads connection. Without accountId every granted row of that connection gets the permissions (the root account is added when it has none); with accountId only that account's row changes or is added. A related account not yet in the grant is verified with the provider first: 403 ACCOUNT_MISMATCH when the provider does not list it, and a provider error passes through with its own status (401 SESSION_EXPIRED, 429, 5xx); the grant stays unchanged. Without a live grant a site grant is created; clientName is then required (400) and the owner's 100 live grants limit applies (429 BUSY). 404 CONNECTION_NOT_FOUND, 410 CONNECTION_DISCONNECTED, 401 SESSION_EXPIRED, 409 MIGRATION_REQUIRED for the Ads connection.

Request​

Responses​

Validated response