v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1346141211.8 KB
accounts

Initiates a channel partner link between a distributor and a reseller, or between resellers in an n-tier reseller channel. Invited partners need to follow the invite_link_uri provided in the response to accept. After accepting the invitation, a link is set up between the two parties. 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. * ALREADY_EXISTS: The ChannelPartnerLink sent in the request already exists. * NOT_FOUND: No Cloud Identity customer exists for provided domain. * 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. Return value: The new ChannelPartnerLink resource.

post/v1/{+parent}/channelPartnerLinks

Path parameters

parentstring required

Required. Create a channel partner link for the provided reseller account's resource name. Parent uses the format: accounts/{account_id}

Request body

createTimestring google-datetime

Output only. Timestamp of when the channel partner link is created.

namestring

Output only. Resource name for the channel partner link, in the format accounts/{account_id}/channelPartnerLinks/{id}.

resellerCloudIdentityIdstring

Required. Cloud Identity ID of the linked reseller.

inviteLinkUristring

Output only. URI of the web page where partner accepts the link invitation.

publicIdstring

Output only. Public identifier that a customer must use to generate a transfer token to move to this distributor-reseller combination.

updateTimestring google-datetime

Output only. Timestamp of when the channel partner link is updated.

linkState'CHANNEL_PARTNER_LINK_STATE_UNSPECIFIED' | 'INVITED' | 'ACTIVE' | 'REVOKED' | 'SUSPENDED'

Required. State of the channel partner link.

Response

Successful response