-
Bug
-
Resolution: Done
-
Major
-
None
-
2.6 ER1
-
None
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
As you can see I was not able to delete active doc by its ID, I was able to do that only by its system name. According help message deleting by id is supported.
$ 3scale activedocs list mkudlej
ID NAME SYSTEM_NAME SERVICE_ID PUBLISHED SKIP_SWAGGER_VALIDATIONS CREATED_AT UPDATED_AT
2 Echo echo 6 true false 2019-06-27T07:35:58Z 2019-06-27T07:35:58Z
17 hu1 hu1 (empty) false false 2019-07-04T11:02:11Z 2019-07-04T11:02:11Z
23 hu2 hu2 6 false false 2019-07-04T12:06:32Z 2019-07-04T12:06:32Z
24 hu3 hu3 6 true false 2019-07-04T12:28:11Z 2019-07-04T13:27:19Z
$ 3scale activedocs delete mkudlej -h 2
NAME
delete - Delete an ActiveDocs
USAGE
3scale activedocs delete <remote>
<activedocs-id_or-system-name>
DESCRIPTION
Remove an ActiveDocs
OPTIONS FOR ACTIVEDOCS
-c --config-file=<value> 3scale toolbox configuration file (default:
/root/.3scalerc.yaml)
-h --help show help for this command
-k --insecure Proceed and operate even for server
connections otherwise considered insecure
-v --version Prints the version of this command
--verbose Verbose mode
$ 3scale activedocs delete mkudlej 2
Error: ActiveDocs 2 does not exist
$ 3scale activedocs delete mkudlej 17
Error: ActiveDocs 17 does not exist
$ 3scale activedocs delete mkudlej hu1
ActiveDocs with id: 17 deleted