Create Ip Space Org Assignment

Create Ip Space Org Assignment

Create a new IP Space Org Assignment. The assignment links an Organization to an IP Space by providing the Organization access to the specified IP Space. It also defines the various IP Space quotas applied to an Organization.

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/ipSpaces/orgAssignments
COPY
Request Body
IpSpaceOrgAssignment of type(s) application/json
Optional

Show optional properties

{
    "ipSpaceRef": {},
    "orgRef": {}
}
{
    "id": "urn:vcloud:ipSpaceOrgAssignment:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "ipSpaceRef": {
        "name": "string",
        "id": "string"
    },
    "orgRef": {
        "name": "string",
        "id": "string"
    },
    "ipSpaceType": "string",
    "defaultQuotas": {
        "floatingIpQuota": 0,
        "ipPrefixQuotas": [
            {
                "prefixLength": 0,
                "quota": 0
            }
        ]
    },
    "customQuotas": {
        "floatingIpQuota": 0,
        "ipPrefixQuotas": [
            {
                "prefixLength": 0,
                "quota": 0
            }
        ]
    }
}
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 POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"ipSpaceRef:"object","orgRef:"object"}' https://{api_host}/cloudapi/1.0.0/ipSpaces/orgAssignments