Create Entitlement Using POST

Create Entitlement Using POST

Creates an entitlement for a given project.

Request
URI
POST
https://{api_host}//api.mgmt.cloud.vmware.com/catalog/api/admin/entitlements
COPY
Request Body

The entitlement to be created

Entitlement of type(s) application/json
Optional
{
    "catalogItemId": "string",
    "catalogSourceId": "string",
    "definition": {
        "description": "string",
        "iconId": "string",
        "id": "string",
        "name": "string",
        "numItems": 0,
        "sourceName": "string",
        "sourceType": "string",
        "type": "string"
    },
    "id": "string",
    "projectId": "string"
}
string As uuid As uuid
catalogItemId
Optional

Catalog item id

string As uuid As uuid
catalogSourceId
Optional

Catalog source ID

definition
Required

definition

string As uuid As uuid
id
Required

Entitlement id

string
projectId
Required

Project id

Responses
200

OK

Returns Entitlement of type(s) */*
{
    "catalogItemId": "string",
    "catalogSourceId": "string",
    "definition": {
        "description": "string",
        "iconId": "string",
        "id": "string",
        "name": "string",
        "numItems": 0,
        "sourceName": "string",
        "sourceType": "string",
        "type": "string"
    },
    "id": "string",
    "projectId": "string"
}
string As uuid As uuid
catalogItemId
Optional

Catalog item id

string As uuid As uuid
catalogSourceId
Optional

Catalog source ID

definition
Required

definition

string As uuid As uuid
id
Required

Entitlement id

string
projectId
Required

Project id


201

Created

Operation doesn't return any data structure

401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure