Media
Choose whether to retain a project video after confirmed delivery
PUT
header
AuthorizationBearer <Postdot API key>A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.
projectId*stringLength
1 <= lengthassetId*stringLength
1 <= length- body
temporary*booleanResponse for status 200
application/json- response
temporary*booleanretentionMs*integerRange
1 <= valueexpiresAt*|nullcurl -X PUT 'https://postdot.example/api/projects/string/media/string/retention' \
-H 'Content-Type: application/json' \
-d '{
"temporary": true
}'Example Response
{
"temporary": true,
"retentionMs": 1,
"expiresAt": 0
}Was this page helpful?
Set or disable automatic video retention for a project PUT
Off by default (null). When set to a number of days, published videos in this project move to the media trash after that interval unless kept individually. Never deletes permanently right away.
Stream verified media bytes for a project asset GET
Next Page