keys.go
func (a *KeyService) Update(ctx context.Context, sid string, data url.Values) (*Key, error) {
	key := new(Key)
	err := a.client.UpdateResource(ctx, keyPathPart, sid, data, key)
	return key, err
}
func (a *KeyService) Update(ctx context.Context, sid string, data url.Values) (*Key, error) {
	key := new(Key)
	err := a.client.UpdateResource(ctx, keyPathPart, sid, data, key)
	return key, err
}
func ( a * KeyService ) Update ( ctx context . Context , sid string , data url . Values ) ( * Key , error ) { key := new ( Key ) err := a . client . UpdateResource ( ctx , keyPathPart , sid , data , key ) return key , 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