Assign Quota Policy To V App

Assign Quota Policy To V App

Assign or unassign a quota policy to a given target vapp. An empty payload is used to unassign an existing quota policy from a given vapp.

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/vapps/{vappUrn}/quotaPolicy
COPY
Path Parameters
string
vappUrn
Required

vappUrn


Request Body
AssignedQuotaPolicy of type(s) application/json
Optional
{
    "quotaPolicyReference": {
        "name": "string",
        "id": "string"
    }
}
Authentication
This operation uses the following authentication methods.
Responses
202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/cloudapi/1.0.0/vapps/{vappUrn}/quotaPolicy