Retention
Get the configured default retention policies for the given retention type
get/retentionpolicies
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/retentionpolicies
- Auth
- API key in header X-Octopus-ApiKey
- or API key in query parameter ApiKey
- or API key in header X-NuGet-ApiKey
Query parameters
retentionTypestring required
Response
Returns the configured default retention policy values
Example response
{
"RetentionType": "LifecycleRelease",
"SpaceId": "Spaces-1"
}Changes
No recorded changes to this operation across all 13 revisions of this API.