How to obtain list of all policies using REST API? |
Here is a curl example. Replace the authToken with a proper one: #!/bin/sh curl -k -X POST \ 'https://TSPS-server.company.com/tsws/10.0/api/unifiedadmin/Policy/list?&responseType=basic' \ -H 'authorization: authToken AQIC5wM2LY4Sfcxu1ldmLo3s_ULpz1O51HaqpAaQlykLV70.*AAJTSQACMDIAAlNLABMyNzg0NDU5MTU5NzEzMDQ2NjU5AAJTMQADMDE.*' \ -H 'content-type: application/json' \ -d '{}' Details on the API are located here: https://docs.bmc.com/docs/TSInfrastructure11304/listing-details-for-all-the-policies-937361149.html |