http.go
func (c *Client) RequestOnBehalfOf(subaccountSid string) {
	c.FullPath = func(pathPart string) string {
		return "/" + strings.Join([]string{c.APIVersion, "Accounts", subaccountSid, pathPart + ".json"}, "/")
	}
}
func (c *Client) RequestOnBehalfOf(subaccountSid string) {
	c.FullPath = func(pathPart string) string {
		return "/" + strings.Join([]string{c.APIVersion, "Accounts", subaccountSid, pathPart + ".json"}, "/")
	}
}
func ( c * Client ) RequestOnBehalfOf ( subaccountSid string ) { c . FullPath = func ( pathPart string ) string { return " " + strings . Join ( [ ] string { c . APIVersion , " " , subaccountSid , pathPart + " " } , " " ) } }
// RequestOnBehalfOf will make all future client requests using the same
// Account Sid and Auth Token for Basic Auth, but will use the provided
// subaccountSid in the URL. Use this to make requests on behalf of a
// subaccount, using the parent account's credentials.
//
// RequestOnBehalfOf is *not* thread safe, and modifies the Client's behavior
// for all requests going forward.
//
// RequestOnBehalfOf should only be used with api.twilio.com, not (for example)
// Twilio Monitor.
//
// To authenticate using a subaccount sid / auth token, create a new Client
// using that account's credentials.
RequestOnBehalfOf will make all future client requests using the same Account Sid and Auth Token for Basic Auth but will use the provided subaccountSid in the URL . Use this to make requests on behalf of a subaccount using the parent account s credentials . RequestOnBehalfOf is * not * thread safe and modifies the Client s behavior for all requests going forward . RequestOnBehalfOf should only be used with api . twilio . com not ( for example ) Twilio Monitor . To authenticate using a subaccount sid / auth token create a new Client using that account s credentials .