cURL
curl -X POST "https://api.joinformal.com/core.v1.ResourceService/ListResourceHostnames" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'{
"resourceHostnames": [
{
"id": "<string>",
"name": "<string>",
"hostname": "<string>",
"resource": {
"id": "<string>",
"name": "<string>",
"hostname": "<string>",
"port": 123,
"environment": "<string>",
"terminationProtection": true,
"spaceId": "<string>",
"space": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"terminationProtection": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"tags": [
{
"key": "<string>",
"value": "<string>",
"id": "<string>"
}
],
"aliases": [
"<string>"
]
},
"terminationProtection": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}core.v1.ResourceService
ListResourceHostnames
POST
/
core.v1.ResourceService
/
ListResourceHostnames
cURL
curl -X POST "https://api.joinformal.com/core.v1.ResourceService/ListResourceHostnames" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"example": "value"
}'{
"resourceHostnames": [
{
"id": "<string>",
"name": "<string>",
"hostname": "<string>",
"resource": {
"id": "<string>",
"name": "<string>",
"hostname": "<string>",
"port": 123,
"environment": "<string>",
"terminationProtection": true,
"spaceId": "<string>",
"space": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"terminationProtection": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"tags": [
{
"key": "<string>",
"value": "<string>",
"id": "<string>"
}
],
"aliases": [
"<string>"
]
},
"terminationProtection": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}Was this page helpful?
⌘I