Getting Started
Vdisk Devices
Stats Capacities
Alerts Notifylists
Cloud Profiles
Cloud Unit
Data Movement Policy
Data Movement
Data Movement Stats Files
Data Movement Stats Mtrees
Data Movement Stats Recall
Managed Files
Filesys Block Storage
Mtrees Id Rlfiles
Mtrees Id Stats
Mtrees Id Stats Capacity
Mtree Id Stats Compressions
Network Host Name Reset
Network Host Name
Network Domain Name Reset
Network Domain Name
Network Search Domain Reset
Network Search Domain
Network Dns Server Reset
Network Dns Server
Network Gateway Reset
Network Gateway
Network Gateway Static Ipv4
Network Gateway Static Ipv6
Network Interface
Network Interface Physical
Network Interface Vlan
Network Interface Alias
Network Nic
Cifs Shares
Ddboost Clients
Ddboost Storage Units
Ddboost Users
Nfs Exports
Nfs Exports Id Clients
Nfs Exports Id Referrals
Vdisk Devgrps
Dd Systems
Vdisk Pools
Vdisk Stimgs
Repl Contexts
Scsitgt Access Groups
Scsitgt Endpoints
Scsitgt Initiators
Services Asup
Services Asup Reset
Services License Server
Services Log
Mdtags Services
Services Ntp
Tenant Units
Stats Capacity
Comp Measurements Support Check
Comp Measurements
Stats File Replications
Filesys Stats
Stats Perf
Stats Performances Mtrees
Stats Systems File Replications
Stats Upgrades Schedules
Storage Disks
Support Bundles
System Repl
System Space
Upgrades Schedules
Users Id Pre Check
Config Template Audit
Config Template Audit History
Config Template Audit Schedule
Config Template
Config Templates Features
Config Template Apply
Profile Access Info
Resource Profile
Filesys Object Store
Filesys Object Stores Aws
Cifs Auth

Make your first call

In this tutorial, you will learn how to do authentication by using the PowerProtect DDMC system username and password. Then you will use the authenticated token to make your first call to retrieve basic information from the DDMC system.

Log in to PowerProtect DDMC system

With the UI username and password, you can use the Auth API to get the authentication token.

curl --request POST \
     --header 'content-type: application/json' \
     --url https://<DDMC-SYSTEM-IP/FQDN>:3009/rest/v1.0/auth \
     --data '{"username":"<your-user-name>","password":"<your-password>"}'

Sample response:

Response code: Created(201)
X-DD-AUTH-TOKEN: f3b68e6f2fd35870f3fd188b737028a78

    "service_status": {
        "details": "success",
        "code": 0,
        "link": [
                "rel": "related",
                "href": "/rest/v1.0/system"
                "rel": "related",
                "href": "/rest/v1.0/dd-systems"

The authentication token is used in subsequent calls.

Get basic system information

Now that you have the authentication token, you can access all APIs that the authenticated user has the privilege to use. The following example uses the system API to fetch basic information about the DDMC system. Set the authentication token in the header:

curl --request GET \
     --header 'Accept: application/json' \
     --header 'X-DD-AUTH-TOKEN:<your-auth-token>
     --url https://<DD-SYSTEM-IP/FQDN>:3009/rest/v1.0/system

Sample response:

Response status code: OK(200) 
    "name": "",
    "version": "Data Domain OS",
    "serialno": "AUMCZJFMGMSMYR",
    "model": "DD Management Center",
    "uptime": "18:39:58 up 10 days,  3:49",
    "uptime_secs": 877765,
    "uuid": "11e3b3f23ccb590b:a0ae3cd21ebdb52d",
    "link": [
            "rel": "self",
            "href": "/rest/v1.0/system"
            "rel": "parent",
            "href": "/rest/v1.0"
            "rel": "vi",
            "href": "/rest/v1.0/system/vi"
            "rel": "config",
            "href": "/rest/v1.0/system/config"

The response returns the detailed information of the DD system.

Log out

To log out of the current session, call the Auth API with the DELETE operation:

curl --request DELETE \
     --header 'X-DD-AUTH-TOKEN:<your-auth-token>' \
     --url 'https://<DDMC-SYSTEM-IP/FQDN>:3009/rest/v1.0/auth'