Pushing Custom Secret-IDs via the API in Powershell

Repost of Policy required to push Custom Secret-IDs via API not working ?