Error
A valid request URL is required to generate request examples[
{
"ErrorCode": "Something.WentWrong",
"ErrorMessage": "Something went wrong"
}
][
{
"ErrorCode": "Package.NotFound:00000000-0000-0000-0000-000000000000",
"ErrorMessage": "The package with id '00000000-0000-0000-0000-000000000000' could not be found"
}
][
{
"ErrorCode": "Something.WentWrong",
"ErrorMessage": "Something went wrong"
}
]Packages
Update package expiry date
Updates the expiry date of a package. Extending the expiry date makes a package that had already expired available again. Documents within the package always expire on the same date as the package.
The request body is the new expiry date as an ISO 8601 date-time value.
PUT
/
packages
/
{packageId}
/
expirydate
Error
A valid request URL is required to generate request examples[
{
"ErrorCode": "Something.WentWrong",
"ErrorMessage": "Something went wrong"
}
][
{
"ErrorCode": "Package.NotFound:00000000-0000-0000-0000-000000000000",
"ErrorMessage": "The package with id '00000000-0000-0000-0000-000000000000' could not be found"
}
][
{
"ErrorCode": "Something.WentWrong",
"ErrorMessage": "Something went wrong"
}
]Authorizations
basicAuthbearerAuth
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
The target package's unique identifier A package's unique identifier
Example:
"00000000-0000-0000-0000-000000000000"
Body
application/json
When the resource will expire
Response
package's expiry date was updated