Skip to main content
POST
/
resources
/
apply
Applies a batch of resource plans
curl --request POST \
  --url https://use.hoop.dev/api/resources/apply \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "sid": "5701046A-7B7A-4A78-ABB0-A24C95E6FE54",
      "resource_name": "my-postgres"
    }
  ]
}
'
{
  "results": [
    {
      "message": "failed obtaining blob stream: empty blob stream",
      "resource_name": "my-postgres",
      "sid": "5701046A-7B7A-4A78-ABB0-A24C95E6FE54",
      "status": "success"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://mintlify.hoop.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

The request body

items
object[]
required

The list of apply items to process

Minimum array length: 1

Response

OK

results
object[]

The list of apply results