Options chain API syntax for stocks

Below is the syntax for nifty index for getting the options chain data through API. Please provide syntax for stocks, what changes do i need to make for script (Example Reliance).

Option Chain

dhan.option_chain(
under_security_id=13, # Nifty
under_exchange_segment=“IDX_I”,
expiry=“2024-10-31”
)