Resources
Create or update multiple resources
Resources
Create or update multiple resources
POST
/
v1
/
resources
curl --request POST \
--url https://api.ctrlplane.dev/api/v1/resources \
--header 'Content-Type: application/json' \
--data '{
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resources": [
{
"name": "<string>",
"kind": "<string>",
"identifier": "<string>",
"version": "<string>",
"config": {},
"metadata": {},
"variables": [
{
"key": "<string>",
"value": "<string>",
"sensitive": true
}
]
}
]
}'
{
"count": 123
}
Body
application/json
Response
200 - application/json
All of the cats
curl --request POST \
--url https://api.ctrlplane.dev/api/v1/resources \
--header 'Content-Type: application/json' \
--data '{
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resources": [
{
"name": "<string>",
"kind": "<string>",
"identifier": "<string>",
"version": "<string>",
"config": {},
"metadata": {},
"variables": [
{
"key": "<string>",
"value": "<string>",
"sensitive": true
}
]
}
]
}'
{
"count": 123
}