Skip to content

Instantly share code, notes, and snippets.

@prydin
Created December 15, 2021 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prydin/0ce7afd7b5ee36af845ccad8555c4d87 to your computer and use it in GitHub Desktop.
Save prydin/0ce7afd7b5ee36af845ccad8555c4d87 to your computer and use it in GitHub Desktop.
Enable ABX custom resources
import json
def handler(context, inputs):
payload = {
"key": "enable.custom.resource.user-defined-schema",
"value": "true"
}
print(context.request("/provisioning/config/toggles", "POST", json.dumps(payload)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment