Update Package

Update Package

Update package.

Request
URI
PATCH
https://{api_host}/vco/api/packages/{packageName}
COPY
Path Parameters
string
packageName
Required

packageName

Header Parameters
string
X-VRO-Changeset-Sha
Optional

X-VRO-Changeset-Sha


Request Body
UpdatePackageDetails of type(s) application/json
Optional
{
    "name": "string",
    "description": "string",
    "add-items": {
        "workflows": [
            "string"
        ],
        "actions": [
            "string"
        ],
        "resources": [
            "string"
        ],
        "configurations": [
            "string"
        ],
        "policy-templates": [
            "string"
        ]
    },
    "delete-items": {
        "workflows": [
            "string"
        ],
        "actions": [
            "string"
        ],
        "resources": [
            "string"
        ],
        "configurations": [
            "string"
        ],
        "policy-templates": [
            "string"
        ]
    },
    "items": {
        "workflows": [
            "string"
        ],
        "actions": [
            "string"
        ],
        "resources": [
            "string"
        ],
        "configurations": [
            "string"
        ],
        "policy-templates": [
            "string"
        ]
    }
}
string
name
Optional

name

string
description
Optional

description

object
add-items
Optional

add-items

object
delete-items
Optional

delete-items

object
items
Optional

items

Responses
204

The request is successful

Operation doesn't return any data structure

401

User is not authorized

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'