Skip to main content

ModifyCloudStorageMetaDataCacheById

Modify details like credentials and path for metadata Cache of a cloud storage based on Id

Path Parameters
  • cloudStorageId int32 required

    Id of cloud Storage

  • metadataCacheId int32 required

    Id of metadata cache

Request Body
  • credentials object
  • name string

    username to access the network path

  • password string

    password to access the network path

  • savedCredentials object
  • id int32
  • name string
  • path string required

    Metadata cache will be stored on this path

Responses

Success


Schema
  • errorMessage string
  • errorCode int32
PUT /v4/storage/cloud/:cloudstorageid/metadatacache/:metadatacacheid    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://localhost/webconsole/api
token
cloudStorageId — path required
metadataCacheId — path required
Body
{
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string"
}
curl -L -X PUT 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/MetadataCache/:metadataCacheId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string"
}'