Proxies

Modify the specified Proxy in the specified Space

put/{spaceId}/proxies/{id}

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/{spaceId}/proxies/{id}
  • Auth
    • API key in header X-Octopus-ApiKey
    • or API key in query parameter ApiKey
    • or API key in header X-NuGet-ApiKey

Path parameters

spaceIdstring required

The ID of the Space containing the Proxy to modify.

idstring required

ID of the Proxy to modify

Request body

Hoststring required
Idstring required

ID of the Proxy to modify

Namestring required
Portinteger required
ProxyTypestring

The type of proxy. Currently only HTTP is supported.

SpaceIdstring required

The ID of the Space containing the Proxy to modify.

Usernamestring

Example request

{
  "Id": "Proxys-1",
  "SpaceId": "Spaces-1"
}

Response

The modified Proxy

Hoststring
Idstring

Gets or sets a unique identifier for this resource.

LastModifiedBystring

Gets or sets the username of the user who last modified this resource.

LastModifiedOnstring date-time

Gets or sets the date/time that this resource was last modified.

Linksobject

Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.

Namestring
Portinteger
ProxyTypestring
SpaceIdstring
Usernamestring

Example response

{
  "Links": {
    "Self": "/api/..."
  },
  "SpaceId": "Spaces-1"
}

Changes

No recorded changes to this operation across all 13 revisions of this API.