Update Collection
PUT/entitlement/api/v1/collection/:id
Update Collection or Asset Groups details.
info
This endpoint is available on the Prisma Cloud Darwin release only.
Request
Path Parameters
id stringrequired
Collection Id
- application/json
Body
required
Collections Data Model
name string
Collection name
description string
Collection description
assetGroups object
AssetGroup that are part of Collection
accountGroupIds string[]
Possible values: <= 5
accountIds string[]
Possible values: <= 1000
repositoryIds string[]
Possible values: <= 1000
Responses
- 200
- 400
- 403
- 429
- 4XX
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
id string
Collection id
name string
Collection name
description string
Collection description
createdBy string
User who created the collection
lastModifiedBy string
User who last updated the collection
createdTs int64
Collection created date
lastModifiedTs int64
Collection last updated date
assetGroups object
AssetGroup that are part of Collection
accountGroupIds string[]
Possible values: <= 5
accountIds string[]
Possible values: <= 1000
repositoryIds string[]
Possible values: <= 1000
{
"id": "string",
"name": "string",
"description": "string",
"createdBy": "string",
"lastModifiedBy": "string",
"createdTs": 0,
"lastModifiedTs": 0,
"assetGroups": {
"accountGroupIds": [
"string"
],
"accountIds": [
"string"
],
"repositoryIds": [
"string"
]
}
}
Bad Request
- */*
- Schema
- Example (from schema)
Schema
object
{}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
object
{}
API is rate limited
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
timestamp stringrequired
httpStatus int32required
error stringrequired
errorDetails object[]
name stringrequired
message stringrequired
message stringrequired
path stringrequired
{
"timestamp": "string",
"httpStatus": 0,
"error": "string",
"errorDetails": [
{
"name": "string",
"message": "string"
}
],
"message": "string",
"path": "string"
}
Client error
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
timestamp stringrequired
httpStatus int32required
error stringrequired
errorDetails object[]
name stringrequired
message stringrequired
message stringrequired
path stringrequired
{
"timestamp": "string",
"httpStatus": 0,
"error": "string",
"errorDetails": [
{
"name": "string",
"message": "string"
}
],
"message": "string",
"path": "string"
}
Loading...