ProjectTemplates
Share a project template to spaces
post/platformhub/{gitRef}/projecttemplates/{slug}/share
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/platformhub/{gitRef}/projecttemplates/{slug}/share
- 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
gitRefstring required
slugstring required
Request body
Example request
{
"IndividuallySharedSpaceIds": [
"Spaces-1",
"..."
]
}Response
Response containing the results of the share project template command
Example response
{
"IndividuallySharedSpaceIds": [
"Spaces-1",
"..."
],
"IndividuallyUnsharedSpaceIds": [
"Spaces-1",
"..."
]
}