Skip to main content
U.S. flag

An official website of the United States government

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Renaming spaces

If you want to change the name of a space in your Cloud Foundry organization, you can follow the steps below.

Please note: if you would like to change the name of a space you need to have the space manager role for that space.

Login to cloud.gov using Cloud Foundry CLI:

cf login -a api.cloud.gov --sso 

Use the CLI to target the organization containing the space that you would like to rename:

cf target -o ORGNAME 

Once you have targeted the correct organization, run the cf rename-space command to rename the space:

cf rename-space SPACE NEW_SPACE_NAME 

If you have additional questions or run into issues, you can open a support ticket by emailing support@cloud.gov.