Delete a specific policy. Policies are specified by their sid and pid.
java -jar skfsadminclient.jar DP <hostport> <did> <wsprotocol> <authtype> <svcusername> <svcpassword> <sid> <pid>
Value |
Explanation |
---|---|
hostport |
Host and port to access the FIDO server |
did |
Unique domain identifier that belongs to SKCE |
wsprotocol |
Web service protocol; REST | SOAP |
authtype |
Authentication type; PASSWORD |
svcusername |
Username used for PASSWORD-based authorization |
svcpassword |
Password used for PASSWORD-based authorization |
sid |
Integer value specifying the server ID |
pid |
Integer value specifying the policy ID |
$ example:~/skfsclient> java -jar skfsadminclient.jar DP https://example.strongkey.com:8181 1 REST PASSWORD fidoadminuser Abcd1234! 1 1
Copyright (c) 2001-2024 StrongAuth, Inc. All rights reserved.
REST Delete Policy with PASSWORD
******************************************
Calling delete policy @ https://example.strongkey.com:8181/skfs/rest/deletepolicy
Response : {"Response":"Successfully deleted policy 1-1","responseCode":"FIDO-MSG-0069","skfsVersion":"4.14.0","skfsFQDN":"example.strongkey.com","TXID":"1-1-165-1731005413802"}
Delete Policy complete.
******************************************
Done with Delete Policy!