Changes who may watch replays (`replay_access`) and read network bodies (`body_access`). Fields left out keep their value. Admins only.
PUT
/rum/settings
const url = 'https://api.siteqwality.com/rum/settings';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"replay_access":"members","body_access":"members"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.siteqwality.com/rum/settings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "replay_access": "members", "body_access": "members" }'Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json
PUT /rum/settings: fields left out keep their value.
Responses
Section titled “ Responses ”The settings after the change
Media type application/json
Account-wide RUM access (GET, PUT /rum/settings). Viewers and auditors never see replay
content or network bodies, whatever this says.
object
replay_access
required
Who may watch replays.
string
body_access
required
Who may read network bodies, headers and console arguments.
string
Example
{ "replay_access": "members", "body_access": "members"}Missing or invalid authentication
Not an account admin
Internal server error