Hi all,
I’m testing Local DNS Service on MX and built a small Python CLI around the Dashboard API to create/modify/delete Local DNS profiles.
When deleting a profile, I consistently get:
400 {"errors":["Networks are currently assigned to the profile"]}
There is no Dashboard UI yet to view or unassign Local DNS profile ↔ network mappings, so I have to rely 100% on the API. My script tries multiple “list/lookup” patterns to find assigned networks (handles list | dict | items[], and field variants like id | profileId) but I’m not getting any assignments back. Result: I can’t programmatically unassign, so deletion fails.
What I’m doing (high level):
Create profile (works)
Add A records (works)
Attempt profile delete → 400 “Networks are currently assigned”
Try to discover assignments via API (no luck)
Without a UI to unassign, I’m blocked
Questions:
Is there a documented endpoint to list networks assigned to a Local DNS profile?
Is there an endpoint to unassign a Local DNS profile from a network?
If this is currently not exposed, is there a recommended interim workflow (e.g., delete records first, clear profile references at network scope, etc.)?
Any GA/Beta notes or timelines for UI/API parity here?
Context:
Python 3.11 + requests
Robust response-shape handling (list/dict/items[])
Using org-level endpoints for profiles/records per the doc
Error only when deleting a profile that was previously assigned
If anyone has API examples (preferred: curl snippets) for listing/unassigning Local DNS profile assignments, that would unblock automation.
Thanks!