---
name: "glab-securefile-remove"
section: "1"
platform: "linux"
package: "glab"
version: "1.126.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/glab-securefile-remove"
---

# glab-securefile-remove(1)

Remove a secure file from a project.

## NAME

glab-securefile-remove - Remove a secure file from a project.

## SYNOPSIS

**glab securefile remove \[ \| --id  \| --name \] \[flags\]**

## DESCRIPTION

Remove a secure file from a project, identified by its numeric ID. The command asks for confirmation before deleting; use **-y** to skip the prompt in scripts.

By default, the file is removed from the current project. Use **--repo** to target another project.

## OPTIONS

**--id**=0\
 	ID of the secure file to remove.

**--name**=""\
 	Name of the secure file to remove.

**-y**, **--yes**\[=false\]\
 	Skip the confirmation prompt.

## OPTIONS INHERITED FROM PARENT COMMANDS

**-h**, **--help**\[=false\]\
 	Show help for this command.

**-R**, **--repo**=""\
 	Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

## EXAMPLE

```
# Remove a secure file by ID
glab securefile remove 1
glab securefile remove --id 1
# Remove a secure file by name
glab securefile remove --name example.txt
# Skip the confirmation prompt
glab securefile remove 1 -y
glab securefile remove --name example.txt -y
# Use the 'rm' alias
glab securefile rm 1
# Use the 'delete' alias
glab securefile delete --name example.txt
```

## SEE ALSO

**[glab-securefile(1)](/glab-securefile/1.md)**
