Delete a specific policy. Policies are specified by their sid and pid.
java -jar skfsadminclient.jar DP <hostport> <did> <wsprotocol> <authtype> [ <accesskey> <secretkey> | <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; HMAC | PASSWORD |
accesskey |
Access key for use in identifying a secret key |
secretkey |
Secret key for HMACing a request |
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.13.0","skfsFQDN":"example.strongkey.com","TXID":"1-1-168-1717786106508"}
Delete Policy complete.
******************************************
Done with Delete Policy!