REST Backup API


You can use the Portworx Backup API to create, delete, schedule, and restore backups. This API is organized around REST and returns responses in JSON format.

To fetch a token, use the below command:

curl --data 'grant_type=password&client_id=pxcentral&username=admin&password=Password1&token-duration=365d' http://<IP>:<Port>/auth/realms/master/protocol/openid-connect/token --silent | jq -r ".access_token"

Last edited: Tuesday, Nov 29, 2022