Change field via api



How do I update the drop-down list field options via the api? I couldn't understand the documentation very well, if anyone can help me I'd be very grateful.