Skip to main content
POST
/
bundles
/
bulk-update
Bulk update bundles
curl --request POST \
  --url https://api.example.com/bundles/bulk-update \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "resource": {
      "ids": {
        "bundleID": "<string>",
        "policyID": "<string>",
        "stageID": "<string>"
      }
    },
    "value": {}
  }
]
'
{
  "error": {
    "code": "<string>",
    "details": {
      "field": "<string>",
      "value": "<string>"
    },
    "message": "<string>",
    "resource": {
      "ids": {
        "bundleID": "<string>",
        "policyID": "<string>",
        "stageID": "<string>"
      }
    },
    "status": 123
  },
  "results": [
    {
      "data": "<unknown>",
      "error": {
        "code": "<string>",
        "details": {
          "field": "<string>",
          "value": "<string>"
        },
        "message": "<string>",
        "resource": {
          "ids": {
            "bundleID": "<string>",
            "policyID": "<string>",
            "stageID": "<string>"
          }
        },
        "status": 123
      },
      "resource": {
        "ids": {
          "bundleID": "<string>",
          "policyID": "<string>",
          "stageID": "<string>"
        }
      },
      "status": 123
    }
  ]
}

Body

application/json

Bulk update requests for bundles

action
enum<string>
required
Available options:
update,
deactivate
resource
object
required
value
object
required

Response

OK

error
object
results
object[]