Retention
Get the configured default retention policies for the given retention type
get/spaces/{spaceIdentifier}/retentionpolicies
Request
- Base URLhttps://demo.octopus.app/api
- URLhttps://demo.octopus.app/api/spaces/{spaceIdentifier}/retentionpolicies
- 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
spaceIdentifierstring required
Identifier (ID or slug) of the space
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.