PATCH
/
v1
/
resources
/
{resourceId}
curl --request PATCH \
  --url https://api.ctrlplane.dev/api/v1/resources/{resourceId} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "version": "<string>",
  "kind": "<string>",
  "identifier": "<string>",
  "workspaceId": "<string>",
  "metadata": {},
  "variables": [
    {
      "key": "<string>",
      "value": "<string>",
      "sensitive": true
    }
  ]
}'
{
  "id": "<string>",
  "name": "<string>",
  "workspaceId": "<string>",
  "kind": "<string>",
  "identifier": "<string>",
  "version": "<string>",
  "config": {},
  "metadata": {}
}

Path Parameters

resourceId
string
required

Body

application/json

Response

200
application/json
Resource updated successfully

The response is of type object.