Skip to main content

Modify software cache details

Select

SaaS
Customer Managed

Modify software cache details

Path Parameters
  • clientId int32 required

    Software cache client id

Request Body
  • cacheDirectory string

    The software cache directory path where the media will be located

  • enabled boolean

    Whether the software cache is enabled or not

  • associations object[]
Responses

OK


Schema
  • errorMessage string
  • errorCode int32
PUT /v4/softwarecache/:clientid    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
clientId — path required
Body
{
"cacheDirectory": "string",
"enabled": true,
"associations": [
{
"id": 0,
"name": "string",
"type": "SERVER",
"opType": "ADD"
}
]
}
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/SoftwareCache/:clientId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"cacheDirectory": "string",
"enabled": true,
"associations": [
{
"id": 0,
"name": "string",
"type": "SERVER",
"opType": "ADD"
}
]
}'