Spaces

Create a new Git credential

post/{spaceId}/git-credentials

Request

  • Base URL
    https://demo.octopus.app/api
  • URL
    https://demo.octopus.app/api/{spaceId}/git-credentials
  • 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 resource(s).

Request body

Descriptionstring
Namestring required
SpaceIdstring required

The ID of the space containing the resource(s).

Example request

{
  "SpaceId": "Spaces-1"
}

Response

Created

Idstring required
Linksobject required

Changes

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