> ## Documentation Index
> Fetch the complete documentation index at: https://help.pipelime.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a workspace (Advanced)

> What the Danger Zone removes, why the confirmation word stays English, and which permission the button needs.

export const UiPath = ({children}) => {
  const parts = String(children).split(/\s*(?:→|>)\s*/).filter(Boolean);
  return <span className="pl-path">
      {parts.map((part, index) => <span key={`${index}-${part}`}>
          {index > 0 && <span className="pl-path__sep">→</span>}
          {part}
        </span>)}
    </span>;
};

export const Screenshot = ({id, alt, caption, frame = 'browser', url, marks = [], lang = 'en', workspace = 'northwind-outbound'}) => {
  const src = `/images/screenshots/${lang}/${id}.png`;
  const chrome = url ? `app.pipelime.ai/${workspace}${url}` : 'app.pipelime.ai';
  return <figure className={`pl-shot pl-shot--${frame} not-prose`}>
      <div className="pl-shot__frame">
        {frame !== 'bare' && <div className="pl-shot__bar">
            <span className="pl-shot__dots">
              <span className="pl-shot__dot" />
              <span className="pl-shot__dot" />
              <span className="pl-shot__dot" />
            </span>
            <span className="pl-shot__url">{chrome}</span>
          </div>}
        <div className="pl-shot__media">
          <img src={src} alt={alt} loading="lazy" />
          {marks.map(mark => <span key={mark.n} className="pl-shot__mark" style={{
    left: `${mark.x}%`,
    top: `${mark.y}%`
  }} aria-hidden="true">
              {mark.n}
            </span>)}
        </div>
      </div>
      {caption && <figcaption className="pl-shot__caption">{caption}</figcaption>}
    </figure>;
};

By the end of this page a workspace is deleted for everyone in it, and nothing in the product brings it back.

<div className="pl-availability">
  <div className="pl-availability__row">
    <div className="pl-availability__label">Where</div>
    <div className="pl-availability__value"><span className="pl-path">Settings<span className="pl-path__sep">→</span>Advanced</span></div>
  </div>

  <div className="pl-availability__row">
    <div className="pl-availability__label">Your role needs</div>
    <div className="pl-availability__value">Update access to Advanced <code>update-companies</code>. Admin have it by default.</div>
  </div>

  <div className="pl-availability__note">If you cannot find this in your sidebar, your workspace may have a custom menu configuration. Contact support and we will check it for you.</div>
</div>

## Before you begin

* Opening the tab and deleting from it are two different permissions. The button needs `delete-companies`, on top of whatever let you open the tab. Of the three system roles only Admin holds it, and a custom role holds it only where the Delete box is ticked on the companies row of its grid. [Roles & Permissions](/en/settings-team/roles-and-permissions) covers how a grid is built.
* A role that holds the first permission without the second still sees the **Danger Zone** in full, description and all, with no button beside it. The button is not shown disabled, it is not rendered at all.
* The delete removes the workspace itself, not your own access to it, so it goes for every member at once.

## Steps

<Steps>
  <Step title="Open the Advanced tab">
    Go to <UiPath>Settings → Advanced</UiPath>. The tab holds one card, **Advanced Settings**, and the only thing in it
    is the **Danger Zone**: a red-bordered box with a warning icon, the heading, and a line saying these actions are
    destructive and cannot be reversed. Under a divider sits a **Delete Company** row, telling you there is no going
    back, with the button on the right.

    <Screenshot id="settings-team/delete-a-workspace--danger-zone" url="/settings/advanced" alt="The Advanced Settings card holding one red-bordered Danger Zone box: a warning icon and heading, a line saying these actions are destructive and cannot be reversed, a divider, then a Delete Company row with a red Delete Company button on the right" caption="The button carries a permission of its own, on top of whatever let you open this tab." />
  </Step>

  <Step title="Open Delete Company">
    Choose **Delete Company**. Nothing is sent yet: the button opens a confirmation dialog and that is all it does. The
    dialog names your workspace by its exact name, in bold, and lists what goes with it:

    * All company settings and configurations
    * All team members and their access
    * All associated data and history
  </Step>

  <Step title="Type DELETE to confirm">
    Type `DELETE` into the field below that list, upper or lower case, either works. The dialog's **Delete Company**
    button stays disabled until it matches, and anything else you type turns the field red.

    The check only recognizes the English word, whatever language the interface is in. On the Spanish interface the
    placeholder tells you to type `ELIMINAR`, and typing the Spanish word leaves the button disabled. Only `DELETE`
    unlocks it, in every locale.

    <Screenshot id="settings-team/delete-a-workspace--confirm" url="/settings/advanced" alt="The delete confirmation dialog: a warning that this cannot be undone, the workspace name in bold, a bulleted list of what is removed, and a text field with DELETE typed into it" caption="Typed in lower case here: the check only cares that the word matches, not its case." />

    <Warning>
      **Cancel** closes the dialog without deleting anything, but it leaves what you typed in the field. Reopen the
      dialog and the confirmation is still there with the button already enabled.
    </Warning>
  </Step>

  <Step title="Confirm the deletion">
    Choose **Delete Company** in the dialog, now enabled. It reads **Deleting...** while the request is in flight. On
    success a toast confirms the workspace is deleted and the app takes you out of it.
  </Step>
</Steps>

## What happens next

<Check>
  The workspace is gone from your account and from every member's, and you are not left looking at your workspace list:
  the app opens one of your remaining workspaces for you.
</Check>

If it was the only workspace on your account, you land in onboarding instead, to set a new one up.

## Troubleshooting

<AccordionGroup>
  <Accordion title="There is no Delete Company button in the Danger Zone">
    The card itself only needs the permission that opens the Advanced tab. The button needs `delete-companies` as well,
    and a role that holds one without the other does not see the button at all: it is not shown disabled, it is simply
    not there. See [Roles & Permissions](/en/settings-team/roles-and-permissions) for how the two are assigned.
  </Accordion>

  <Accordion title="I typed the confirmation word and the button is still disabled">
    The field only accepts the English word `DELETE`, case-insensitively, no matter which language the interface is
    showing. On the Spanish interface, ignore the placeholder's `ELIMINAR` and type `DELETE` instead.
  </Accordion>

  <Accordion title="The deletion fails">
    The dialog stays open with what you typed still in the field, and a toast reports what came back from the server.
    A refused request changes nothing, so the workspace is still there and the button is ready to try again.
  </Accordion>
</AccordionGroup>

## Related

<CardGroup cols={2}>
  <Card title="Workspaces overview" icon="compass" href="/en/workspaces-account/workspaces-overview">
    What lives inside a workspace, and who can edit or delete one.
  </Card>

  <Card title="Roles & Permissions" icon="shield" href="/en/settings-team/roles-and-permissions">
    The three system roles, how custom roles are built, and what each permission unlocks.
  </Card>
</CardGroup>
