Skip to content

Commit

Permalink
remove callout (#3922)
Browse files Browse the repository at this point in the history
removing callout as eng fixed the bad ux where users had to delete a job
first before deleting an environment. now a user can delete an
environment, and any associated jobs will also automatically get
deleted.

## What are you changing in this pull request and why?
<!---
Describe your changes and why you're making them. If linked to an open
issue or a pull request on dbt Core, then link to them here! 

To learn more about the writing conventions used in the dbt Labs docs,
see the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md).
-->

## Checklist
<!--
Uncomment if you're publishing docs for a prerelease version of dbt
(delete if not applicable):
- [ ] Add versioning components, as described in [Versioning
Docs](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-entire-pages)
- [ ] Add a note to the prerelease version [Migration
Guide](https://github.com/dbt-labs/docs.getdbt.com/tree/current/website/docs/guides/migration/versions)
-->
- [ ] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
and [About
versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
so my content adheres to these guidelines.
- [ ] Add a checklist item for anything that needs to happen before this
PR is merged, such as "needs technical review" or "change base branch."

Adding new pages (delete if not applicable):
- [ ] Add page to `website/sidebars.js`
- [ ] Provide a unique filename for the new page

Removing or renaming existing pages (delete if not applicable):
- [ ] Remove page from `website/sidebars.js`
- [ ] Add an entry `website/static/_redirects`
- [ ] [Ran link
testing](https://github.com/dbt-labs/docs.getdbt.com#running-the-cypress-tests-locally)
to update the links that point to the deleted page
  • Loading branch information
mirnawong1 authored Aug 15, 2023
2 parents 437202a + fcbb3bc commit 42190cc
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions website/docs/faqs/Environments/delete-environment-job.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@ id: delete-environment-job

To delete an environment or job in dbt Cloud, you must have a `developer` [license](/docs/cloud/manage-access/seats-and-users) and have the necessary [access permissions](/docs/cloud/manage-access/about-user-access).

:::info 📌 Delete a job first before deleting environment

Deleting an environment doesn't automatically delete its associated job(s). If you delete an environment first without deleting the job, you won't be able to delete the job since it's without an environment.

To completely delete your environment, you _must_:
1. First delete all jobs associated with that environment,
2. Then, delete the environment.
:::

**Delete a job**
## Delete a job

To delete a job or multiple jobs in dbt Cloud:

Expand All @@ -33,9 +24,9 @@ To delete a job or multiple jobs in dbt Cloud:

5. Confirm your action in the **Confirm Delete** pop-up by clicking **Confirm Delete** in the bottom right to delete the job immediately. This action cannot be undone. However, you can create a new job with the same information if the deletion was made in error.

Refresh the page, and the deleted job should now be gone. If you want to delete multiple jobs, you'll need to perform these steps for each individual job.
Refresh the page, and the deleted job should now be gone. If you want to delete multiple jobs, you'll need to perform these steps for each job.

**Delete an environment**
## Delete an environment

To delete an environment in dbt Cloud:

Expand All @@ -54,4 +45,4 @@ To delete an environment in dbt Cloud:

Refresh your page, and the deleted environment should now be gone. If you want to delete multiple environments, you'll need to perform these steps to delete each one.

If you're having any issues, feel free to [contact us](mailto:support@getdbt.com) for additional help.
If you're having any issues, feel free to [contact us](mailto:support@getdbt.com) for additional help.

0 comments on commit 42190cc

Please sign in to comment.