Delete workspace configuration with the APC API

The examples on this page show common ways to use the APC API — they’re not a complete API reference. For the full, interactive API documentation for your installation, including every available query, mutation, and type, go to https://houston.<your-base-domain>/v1, and click on the Docs tab. See Develop and test APC API queries for more on using the built-in GraphQL explorer.

Deleting workspace configuration removes all workspace-level overrides, reverting all Deployments in the workspace to use cluster-level and platform-level defaults.

Use the deleteWorkspaceDeploymentsConfig mutation:

1mutation {
2 deleteWorkspaceDeploymentsConfig(
3 workspaceUuid: "<workspace-id>"
4 reason: "Revert workspace to cluster defaults"
5 ) {
6 id
7 config
8 deletedAt
9 }
10}

For the full config governance model these overrides participate in, see Config governance.