Add Cloud Entitlements

Add Cloud Entitlements

All the listed privileges are required -

Privileges Description
GLOBAL_CONFIG_MANAGEMENT Caller should have permission to this privilege, to perform this operation.
Request
URI
POST
https://{api_host}/rest/entitlements/v1/cloud-entitlements
COPY
Request Body
Array of string of type(s) application/json
Optional
[
    {}
]
Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "error_messages": [
            "Entity does not exist.",
            "Property is mandatory."
        ],
        "errors": [
            {
                "error_key": "inventory.machine.not.found",
                "error_message": "username cannot be empty"
            }
        ],
        "id": "6f85b3a5-e7d0-4ad6-a1e3-37168dd1ed51",
        "key": "user1",
        "status_code": 200,
        "timestamp": 1561939200000
    }
]

401

User is not authenticated

Operation doesn't return any data structure

403

Access to the resource is forbidden

Operation doesn't return any data structure

409

Conflict

Operation doesn't return any data structure