bcgov / bcgov/gwa-cli

Add command for deleting other resource types

Open
#132 0 comments 0 reactions 0 assignees View on GitHub
enhancement jira
Dominant language
Go
Stars
8
Forks
1
PR merge metrics
No merged PRs in 30d

Description

From the API Services Portal, some resource types can be deleted (Product and ProductEnvironments, CredentialIssuers/Authorization Profiles), but not from `gwa`.

Currently it is only possible to create and update non-GatewayService resources from `gwa` - not delete them.

It is not possible to delete DraftDatasets from Portal or `gwa`, only from the Portal API.

## AC
- Add a command which allows deleting other resource types by `name`

## Notes
- use API `DELETE` endpoints
- will there be errors returned when trying to delete items because on their use in other resource types? might need to consider the deletion order / ensure good error messaging

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.