description |
---|
Allows you to delete a namespace |
npx wgc namespace delete [name]
The npx wgc namespace delete
command allows you to dekete a namespace within the organization.
{% hint style="danger" %} IMPORTANT: Deleting a namespace will delete all resources (federated graphs and subgraphs) within it. Please use the command carefully. Only admins and creators of the namespace can perform this action. {% endhint %}
[name]
: The name of the namespace you want to delete.
-f, --force
: An optional flag that allows you to force delete the namespace without being prompted for confirmation.
-
Delete a namespace named "production"
npx wgc namespace delete production
\