List User archives
GET
/api/v1/admin/user-archives
const url = 'https://example.com/api/v1/admin/user-archives';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/admin/user-archives \ --header 'Authorization: Bearer <token>'Lists the User archives. It requires a signed-in User with the admin scope and the admin or owner Role. It can return 401 if the session is missing or expired and 403 if access is denied. Route: /api/v1/admin/user-archives. Inputs: . Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
Array<object>
object
expires_at
required
Unix time in seconds when the server will purge this archive.
integer format: int64
user_id
required
Immutable user identity whose Home is archived.
string format: uuid
Examplegenerated
[ { "expires_at": 1, "user_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }]