RUM Managed Archives
Create or update an archive configuration
Create or update the archive configuration for a RUM application. The application ID in the path must match data.id. Disabling archiving does not delete archived sessions.
put/api/v2/rum/config/archive/{app_id}
Request
- Base URLhttps://api.datadoghq.com
- AuthAPI key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
app_idstring uuid required
Application UUID.
Example:a33671aa-24fd-4dcd-ba4b-5bbdbafe7690
RUM application ID. Must match data.id for PUT.
Request body
Example request
{
"data": {
"attributes": {
"enabled": true,
"retention_days": 90
},
"id": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690",
"type": "rum_archive_config"
}
}Response
OK
Example response
{
"data": {
"attributes": {
"enabled": true,
"org_id": 123,
"retention_days": 90,
"updated_at": "2026-09-21T12:00:00Z",
"updated_by": "user@example.com"
},
"id": "a33671aa-24fd-4dcd-ba4b-5bbdbafe7690",
"type": "rum_archive_config"
}
}Changes
Changes to this operation have not been checked yet.