Required. Name of the flow hook to which the shared flow should be attached in the following format: organizations/{org}/environments/{env}/flowhooks/{flowhook}
Authorization requires the following IAM permission on the specified resource name:
apigee.flowhooks.attachSharedFlow
Request body
The request body contains an instance of FlowHook.
Response body
If successful, the response body contains an instance of FlowHook.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThis webpage details how to attach a shared flow to a flow hook using a PUT request.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request requires a specific URL structure using gRPC Transcoding and includes path parameters for the organization, environment, and flow hook name.\u003c/p\u003e\n"],["\u003cp\u003eThe request body is an instance of the \u003ccode\u003eFlowHook\u003c/code\u003e resource, which defines the shared flow being attached.\u003c/p\u003e\n"],["\u003cp\u003eA successful operation will return a \u003ccode\u003eFlowHook\u003c/code\u003e instance in the response body.\u003c/p\u003e\n"],["\u003cp\u003eAttaching a shared flow requires the \u003ccode\u003eapigee.flowhooks.attachSharedFlow\u003c/code\u003e IAM permission and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.environments.flowhooks.attachSharedFlowToFlowHook\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nAttaches a shared flow to a flow hook.\n\n### HTTP request\n\n`PUT https://apigee.googleapis.com/v1/{name=organizations/*/environments/*/flowhooks/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains an instance of [FlowHook](/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.flowhooks#FlowHook).\n\n### Response body\n\nIf successful, the response body contains an instance of [FlowHook](/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments.flowhooks#FlowHook).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`"]]