Settings Admin API

What’s up guys, getting started with Ghost and I have to say it’s pretty great. I’m automating some of my deployment process and wondering if it’s possible to upload a new routes.yaml file via the Admin API - or to hit the settings endpoints at all? Doing a little digging I see the following route defined (this is what’s used when uploading a routes file from the frontend’s “Labs” section)'/settings/routes/yaml',
    apiMw.upload.validation({type: 'routes'}),

But whenever I try posting to:

I get:

NotImplementedError - "The server does not support the functionality required to fulfill the request."

Any idea how to do this / if it’s even possible to access the admin’s /settings routes?

I’d open dev tools and take a look at what api endpoint is hit (and with what parameters) when you upload routes.yaml on the Ghost admin page. There may be a clue there.

@Cathy_Sarisky Thanks for the reply. Yeah I did that, I seem to be hitting the same endpoint that the admin page is.