Resources
Sets the resource for a provider.
Resources
Sets the resource for a provider.
PATCH
/
v1
/
resource-providers
/
{providerId}
/
set
curl --request PATCH \
--url https://api.ctrlplane.dev/api/v1/resource-providers/{providerId}/set \
--header 'Content-Type: application/json' \
--data '{
"resources": [
{
"identifier": "<string>",
"name": "<string>",
"version": "<string>",
"kind": "<string>",
"config": {},
"metadata": {}
}
]
}'
Path Parameters
UUID of the scanner
curl --request PATCH \
--url https://api.ctrlplane.dev/api/v1/resource-providers/{providerId}/set \
--header 'Content-Type: application/json' \
--data '{
"resources": [
{
"identifier": "<string>",
"name": "<string>",
"version": "<string>",
"kind": "<string>",
"config": {},
"metadata": {}
}
]
}'