DeploymentTargets
Create a MachineResource
Creates a new deployment target.
post/machines
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/machines
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Request body
Example request
{
"Endpoint": {
"Links": {
"Self": "/api/..."
}
},
"EnvironmentIds": [
"Environments-1",
"..."
],
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
]
}Response
Created
Example response
{
"Endpoint": {
"Links": {
"Self": "/api/..."
}
},
"EnvironmentIds": [
"Environments-1",
"..."
],
"Links": {
"Self": "/api/..."
},
"SpaceId": "Spaces-1",
"TenantIds": [
"Tenants-1",
"..."
]
}Changes
No recorded changes to this operation across all 13 revisions of this API.