gln profile remove
Remove a profile registration.
Synopsis
gln [global-options] profile remove <name> [--delete-state]
Options
| Argument or flag | Type | Required | Default | Description |
|---|---|---|---|---|
<name> | string | yes | - | Profile name to remove from the registry. |
--delete-state | flag | no | false | Also delete removable local state, managed EBICS key files, and provider-owned token blobs. |
Description
Deletes the named profile's registry entry. The default behaviour is
metadata-only: local state, provider blobs, and EBICS key files stay on disk
and are reused if the profile is recreated. Pass --delete-state to also
remove profile-owned side files:
- FinTS and EBICS profiles remove the registered local state file.
- EBICS profiles also remove managed EBICS key blobs and sidecar key files.
- Revolut profiles remove the host-managed OAuth token blob and transfer idempotency blob.
- Wise profiles remove the host-managed PersonalToken blob.
Requirements
- Profile: required
- Credential type: none
- Backend prerequisites: None.
- Input mode: None.
Status and exit codes
| Status | Exit | Meaning | Continuation |
|---|---|---|---|
ok | 0 | Profile removed; the result records which side files were deleted. | - |
error | 1 | Profile name was empty, the named profile does not exist, or the registry could not be saved. | - |
Result keys: name, deleted_state_file, deleted_ebics_key_blob_file, deleted_ebics_sidecar_key_file, deleted_revolut_token_blob, deleted_revolut_idempotency_blob, deleted_wise_token_blob.
Examples
gln profile remove demo
gln profile remove corp --delete-state