Agent Permissions Validation

Agent Permissions Validation

The path needs to be created and authenticated beforehand, using the Validate path API (in the case that the path does not exist, or it's on a network share that requires auth).

This section includes the following topics:

  • Input Parameters

  • Output Parameters

Input Parameters

diskLocation

path - string pointing to the local or remote path where the virtual disks will be stored on a subsequent Restore API call.

Example:

{

 

 "diskLocation": {

 

     "path": "c:\\path1"   

 

 }

}

Output Parameters

None when successful, validation error otherwise:

when there are no write permissions on the diskLocation.path location - error message "Need to have read/write permissions on path {path_here}"

Example POST

POST /v2/accounts/test_acc/computers/0000/restore/diskimage/standard/vm/validate/agent

Input Parameters

{

    "diskLocation":{

    "path": "c:\\path1"

 

        }

}

Output Parameters

Response status: 204 No content (for online operation).


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.