Update Depot Settings

Update Depot Settings

Update depot settings. Depot settings can be updated with VMware Depot account

Request
URI
PUT
https://{api_host}/v1/system/settings/depot
COPY
Request Body
DepotSettings of type(s) application/json
Required
{
    "vmwareAccount": {
        "username": "string",
        "password": "string",
        "status": "One among: DEPOT_UNKNOWN_HOST, DEPOT_NOT_AVAILABLE, DEPOT_USER_NOT_SET, DEPOT_INVALID_CREDENTIAL, UNKNOWN_FAILURE, DEPOT_CONNECTION_SUCCESSFUL",
        "message": "string"
    },
    "dellEmcSupportAccount": {
        "username": "string",
        "password": "string",
        "status": "One among: DEPOT_UNKNOWN_HOST, DEPOT_NOT_AVAILABLE, DEPOT_USER_NOT_SET, DEPOT_INVALID_CREDENTIAL, UNKNOWN_FAILURE, DEPOT_CONNECTION_SUCCESSFUL",
        "message": "string"
    },
    "offlineAccount": {
        "username": "string",
        "password": "string",
        "status": "One among: DEPOT_UNKNOWN_HOST, DEPOT_NOT_AVAILABLE, DEPOT_USER_NOT_SET, DEPOT_INVALID_CREDENTIAL, UNKNOWN_FAILURE, DEPOT_CONNECTION_SUCCESSFUL",
        "message": "string"
    },
    "depotConfiguration": {
        "isOfflineDepot": false,
        "hostname": "string",
        "port": 0
    }
}
object
vmwareAccount
Optional

VMware Depot Account Information

object
dellEmcSupportAccount
Optional

VMware Depot Account Information

object
offlineAccount
Optional

VMware Depot Account Information

object
depotConfiguration
Optional

Depot Configuration

Responses
202

Ok

Returns DepotSettings of type(s) application/json
"DepotSettings Object"
object
vmwareAccount
Optional

VMware Depot Account Information

object
dellEmcSupportAccount
Optional

VMware Depot Account Information

object
offlineAccount
Optional

VMware Depot Account Information

object
depotConfiguration
Optional

Depot Configuration


400

Bad Request

Returns Error of type(s) application/json
"Error Object"
string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

object
context
Optional

The error context (e.g. the component where it occurred).

string
message
Optional

The localized error message

string
remediationMessage
Optional

The localized remediation error message

array of object
causes
Optional

The underlying cause exceptions.

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.


500

InternalServerError

Returns Error of type(s) application/json
"Error Object"
string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

object
context
Optional

The error context (e.g. the component where it occurred).

string
message
Optional

The localized error message

string
remediationMessage
Optional

The localized remediation error message

array of object
causes
Optional

The underlying cause exceptions.

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/v1/system/settings/depot