brute force – Bruteforcing URL to find directory

so imagine i have this URL: https://media.st.dl.pinyuncloud.com/apps/xyz/images/abc/ – It exists and result back error 403, which means it exists but I cannot access due to no previelege.

I want to bruteforce and find all the directories like ‘abc’ which exists but we cannot access like using any wordlist.

Can you recommend me the most efficient way to do this?