Configuration
Change the media budget and temporary video retention
Sets the budget for original media across all projects and how long a video marked temporary stays in the library after confirmed delivery. Changes apply at once; a lower budget refuses new uploads without removing files.
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.
- body
maxSourceBytes*|Budget for original media across all projects in bytes, or null for no budget.
temporaryVideoRetentionDays*integerDays a temporary video stays in the library after confirmed delivery.
Range
1 <= value <= 3650Response for status 200
application/json- response
maxSourceBytes*|Budget for original media across all projects in bytes, or null for no budget.
temporaryVideoRetentionDays*integerDays a temporary video stays in the library after confirmed delivery.
Range
1 <= value <= 3650curl -X PUT 'https://postdot.example/api/settings/media' \
-H 'Content-Type: application/json' \
-d '{
"maxSourceBytes": 1,
"temporaryVideoRetentionDays": 1
}'Example Response
{
"maxSourceBytes": 1,
"temporaryVideoRetentionDays": 1
}