Remove a profile
task brazil Updated Sep 10, 2026 1 min read delete-profile.md
Remove a named connection profile that you no longer need from the configuration file.
Before you begin
A default profile must first exist to communicate with an instance.
Role required: none.
About this task
You cannot remove the default connection profile using this command. To remove the default connection profile, edit the configuration file manually.
Procedure
-
Open your system's command-line tool and execute this command.
-
Specify the name of the named profile in the profile-name argument.
Shell$ snc configure profile remove [--profile profile-name]
Result
The CLI removes the specified profile from the configuration file.
Parent Topic:Configuring and managing your ServiceNow CLI connection profiles
46 lines · 1.5 KB
---
title: Remove a profile
description: Remove a named connection profile that you no longer need from the configuration file.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/application-development/servicenow-cli/delete-profile.html
release: brazil
product: ServiceNow CLI
classification: servicenow-cli
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Configuring and managing your ServiceNow CLI connection profiles, ServiceNow CLI, Developing your application, Classic app development, Building applications]
---
# Remove a profile
Remove a named connection profile that you no longer need from the configuration file.
## Before you begin
A default profile must first exist to communicate with an instance.
Role required: none.
## About this task
You cannot remove the default connection profile using this command. To remove the default connection profile, edit the configuration file manually.
## Procedure
1. Open your system's command-line tool and execute this command.
2. Specify the name of the named profile in the *profile-name* argument.
```
$ snc configure profile remove [--profile profile-name]
```
## Result
The CLI removes the specified profile from the configuration file.
**Parent Topic:**[Configuring and managing your ServiceNow CLI connection profiles](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/servicenow-cli/configure-profile.md)
| title | Remove a profile |
| description | Remove a named connection profile that you no longer need from the configuration file. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/application-development/servicenow-cli/delete-profile.html |
| release | brazil |
| product | ServiceNow CLI |
| classification | servicenow-cli |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Configuring and managing your ServiceNow CLI connection profilesServiceNow CLIDeveloping your applicationClassic app developmentBuilding applications |