NOTE: Learn more about the Policy Module here.
To delete the current enforced policy for the specified domain, run the following command as "strongkey" user.
java -jar skfsadminclient.jar DP <hostport> <did> <wsprotocol> <authtype> <svcusername> <svcpassword> <sid> <pid>
An example command will look like this:
java -jar /usr/local/strongkey/skfsadminclient/skfsadminclient.jar DP https://example.strongkey.com:8181 1 REST PASSWORD fidoadminuser Abcd1234! 1 1
Output:
$ 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-168-1717786106508"}
Delete Policy complete.
******************************************
Done with Delete Policy!
Copyright (c) 2001-2024 StrongAuth, Inc. (dba StrongKey) All Rights Reserved