Updates a channel partner link. Distributors call this method to change a link's status. For example, to suspend a partner link. You must be a distributor to call this method.
Possible error codes:
PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request.
INVALID_ARGUMENT:
Required request parameters are missing or invalid.
Link state cannot change from invited to active or suspended.
Cannot send resellerCloudIdentityId, invite_url, or name in update mask.
NOT_FOUND: ChannelPartnerLink resource not found.
INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
Required. The resource name of the channel partner link to cancel. Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} where {id} is the Cloud Identity ID of the partner.
Request body
The request body contains data with the following structure:
[[["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-05-19 UTC."],[[["\u003cp\u003eThis API method updates a channel partner link, allowing distributors to modify a link's status, such as suspending it.\u003c/p\u003e\n"],["\u003cp\u003eOnly distributors can call this method, and the request requires the \u003ccode\u003ename\u003c/code\u003e parameter to identify the specific channel partner link using the format \u003ccode\u003eaccounts/{account_id}/channelPartnerLinks/{id}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include the \u003ccode\u003echannelPartnerLink\u003c/code\u003e object containing the updated link data and an \u003ccode\u003eupdateMask\u003c/code\u003e that must specify the \u003ccode\u003echannelPartnerLink.link_state\u003c/code\u003e to be updated.\u003c/p\u003e\n"],["\u003cp\u003ePossible error codes include \u003ccode\u003ePERMISSION_DENIED\u003c/code\u003e, \u003ccode\u003eINVALID_ARGUMENT\u003c/code\u003e, \u003ccode\u003eNOT_FOUND\u003c/code\u003e, \u003ccode\u003eINTERNAL\u003c/code\u003e, and \u003ccode\u003eUNKNOWN\u003c/code\u003e, indicating various issues such as mismatched accounts or invalid parameters.\u003c/p\u003e\n"],["\u003cp\u003eA successful update returns a \u003ccode\u003eChannelPartnerLink\u003c/code\u003e resource in the response body, and the method requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/apps.order\u003c/code\u003e for authorization.\u003c/p\u003e\n"]]],[],null,[]]