Variables
Convert all non-sensitive project variables to be stored in Git rather than the database.
post/{spaceId}/projects/{projectId}/git/migrate-variables
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/{spaceId}/projects/{projectId}/git/migrate-variables
- 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).
projectIdstring required
Request body
Example request
{
"ProjectId": "Projects-1",
"SpaceId": "Spaces-1"
}Response
Empty response indicating the Project Variables were converted
Convert Project Variables To Git Response required
Changes
No recorded changes to this operation across all 13 revisions of this API.