Update Resource List
PUT/v1/resource_list/:id
Updates the resource list that has the specified ID.
Request
Path Parameters
- application/json; charset=UTF-8
Body
Description
Resource list members. Each member is raw JSON. The content depends on the resource list type. For example, if the resource list type is TAG, then the member is a JSON array of TAG key/value pairs.
Possible values: <= 256 characters
Name
Possible values: [TAG
, COMPUTE_ACCESS_GROUP
]
Resource list type. Note: COMPUTE_ACCESS_GROUP is available only if you have a Compute license
Responses
- 200
- 400
- 403
- 404
- 409
successful operation
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
Description
Resource list id
Last modified by
Last modified time
Resource list members. Each member is raw JSON. The content depends on the resource list type. For example, if the resource list type is TAG, then the member is a JSON array of TAG key/value pairs.
Possible values: <= 256 characters
Name
Possible values: [TAG
, COMPUTE_ACCESS_GROUP
]
Resource list type. Note: COMPUTE_ACCESS_GROUP is available only if you have a Compute license
{
"description": "string",
"id": "string",
"lastModifiedBy": "string",
"lastModifiedTs": 0,
"members": "string",
"name": "string",
"resourceListType": "TAG"
}
invalid_id
resource_list_flag_not_enabled
non_existing_resource_list_id
duplicate_resource_list_name