GET
/
v1
/
resources
/
{resourceId}
curl --request GET \
  --url https://api.ctrlplane.dev/api/v1/resources/{resourceId}
{
  "id": "<string>",
  "name": "<string>",
  "workspaceId": "<string>",
  "kind": "<string>",
  "identifier": "<string>",
  "version": "<string>",
  "config": {},
  "lockedAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "provider": {
    "id": "<string>",
    "name": "<string>"
  },
  "metadata": {},
  "variable": {}
}

Path Parameters

resourceId
string
required

The resource ID

Response

200
application/json
OK
id
string
required
name
string
required
workspaceId
string
required
kind
string
required
identifier
string
required
version
string
required
config
object
required
updatedAt
string
required
metadata
object
required
variable
object
required
lockedAt
string | null
provider
object | null