Update

Update

Modifies the resources metadata of a project specified by id.

Request
URI
PATCH
https://vra-interop-222-139.lvn.broadcom.net/project-service/api/projects/{id}/resource-metadata
COPY
Path Parameters
string
id
Required

Тhe id of the project.

Query Parameters
string
apiVersion
Optional
Constraints: default: 2019-01-15

The version of the API in yyyy-MM-dd format. For versioning information refer to /project-service/api/about.


Request Body

resource metadata

ProjectResourceMetadata of type(s) application/json
Required
{
    "tags": [
        {
            "key": "key1",
            "value": "value1"
        },
        {
            "key": "key1"
        }
    ]
}
array of object
tags
Optional

List of tags to be applied to any Compute resource provisioned within the project.

Authentication
This operation uses the following authentication methods.
Responses
200

'OK' with the newly updated project resource metadata

Returns ProjectResourceMetadata of type(s) application/json
"ProjectResourceMetadata Object"
array of object
tags
Optional

List of tags to be applied to any Compute resource provisioned within the project.


400

'Bad request' on validation failure

Operation doesn't return any data structure

404

'Not found' if no project with the provided id

Operation doesn't return any data structure

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