Method: Twilio::REST::Accounts::V1::AuthTokenPromotionContext#update

Defined in:
lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb

#updateAuthTokenPromotionInstance

Update the AuthTokenPromotionInstance

Returns:



62
63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb', line 62

def update

    headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', })
    
    
    
    
    
    payload = @version.update('POST', @uri, headers: headers)
    AuthTokenPromotionInstance.new(
        @version,
        payload,
    )
end