Add Media Agent License for a Client
Put call to consume ma license for a client
Path Parameters
- serverId int32 required
serverId of the client for which the MA role needs to be added
Responses
- 200
- 404
MA role added
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v4/servers/:serverid/role/mediaagent
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://localhost/webconsole/api/V4/Servers/:serverId/Role/MediaAgent' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Servers/:serverId/Role/MediaAgent' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Servers/:serverId/Role/MediaAgent' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Servers/:serverId/Role/MediaAgent' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Servers/:serverId/Role/MediaAgent' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Servers/:serverId/Role/MediaAgent' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X PUT 'https://localhost/webconsole/api/V4/Servers/:serverId/Role/MediaAgent' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'