Rum Teams Ownership
Bulk create and remove teams ownership mappings
Add and remove teams ownership mappings for your organization in a single atomic request, following the JSON:API atomic operations extension. Operations are applied together: if any operation is invalid, none of the operations are applied. Add operations are processed before remove operations, so results may not appear in the same order as the request.
post/api/v2/rum/config/teams-ownership/mappings/operations
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"atomic:operations": [
{
"data": {
"attributes": {
"application_id": "11111111-2222-3333-4444-555555555555",
"match_type": "exact",
"service": "web-checkout",
"team_handle": "team-rum",
"view_name": "/checkout"
},
"type": "teams_ownership_mappings"
},
"op": "add",
"ref": {
"id": "456",
"type": "teams_ownership_mappings"
}
}
]
}Response
OK
Example response
{
"atomic:results": [
{
"data": {
"attributes": {
"application_id": "11111111-2222-3333-4444-555555555555",
"created_at": "2026-01-15T09:30:00.000Z",
"created_by": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"match_type": "exact",
"org_id": 123456,
"service": "web-checkout",
"team_handle": "team-rum",
"view_name": "/checkout"
},
"id": "123",
"type": "teams_ownership_mappings"
}
}
],
"errors": [
{
"detail": "prefix match_type is not enabled for this org",
"status": "400",
"title": "Bad Request"
}
]
}Changes
Changes to this operation have not been checked yet.