Skip to main content

Post Internal Users Owner Id Mcp Grants Copy

POST 

/internal/users/:ownerId/mcp-grants/copy

Gives a reconnected MCP connection (toMcpConnectionId) the first live grant of the owner among fromMcpConnectionIds, in order, as a consent grant with the request's clientId and clientName. Rows of disconnected, migration-required or missing Ads connections are dropped, expired ones stay. 201 with the new grant; 200 with grant null when no predecessor has a live grant or no row is left. The predecessor's grant is not changed and a paused Ads connection stays paused. 409 GRANT_EXISTS when the target already has a live grant; 429 BUSY at the owner's 100 live grants. MCP connection ids are never logged.

Request​

Responses​

Validated response