accounts.go
func (a *AccountService) Update(ctx context.Context, sid string, data url.Values) (*Account, error) {
	acct := new(Account)
	// hack because this is not a resource off of the account sid
	sidJSON := sid + ".json"
	err := a.client.UpdateResource(ctx, accountPathPart, sidJSON, data, acct)
	return acct, err
}
func (a *AccountService) Update(ctx context.Context, sid string, data url.Values) (*Account, error) {
	acct := new(Account)
	// hack because this is not a resource off of the account sid
	sidJSON := sid + ".json"
	err := a.client.UpdateResource(ctx, accountPathPart, sidJSON, data, acct)
	return acct, err
}
func ( a * AccountService ) Update ( ctx context . Context , sid string , data url . Values ) ( * Account , error ) { acct := new ( Account ) // hack because this is not a resource off of the account sid sidJSON := sid + " " err := a . client . UpdateResource ( ctx , accountPathPart , sidJSON , data , acct ) return acct , err }
// Update the key with the given data. Valid parameters may be found here:
// https://www.twilio.com/docs/api/rest/keys#instance-post
Update the key with the given data . Valid parameters may be found here : https : // www . twilio . com / docs / api / rest / keys#instance - post