API Reference
Log In
API Reference

Undo a department import

Puts every person's department history the import changed back exactly as it was before it. Directory people the import added leave the directory again, with the email links it wrote for them; an email link that existed before the import and that the import resolved to one of them goes back to unresolved. The department admins the import named through admin_email stop being admins, except those named again since, by hand or in a later import's file, which stay; an import that only named admins can be undone. Refused with 409 while a later import changed the same people (undo that one first), or when their departments changed after the import in any other way, or when a department it would restore has been deleted since, or when the email links of people it added changed since, or when a person it added was named a department admin since by hand or by another import. Records the undo in the import history and the audit trail. The response lists in syncing every email of each person the undo changed, with the department expected; undoneBy.at is when it was applied, and the analytics copy catches up after.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Encoded import id, as listed by the import history

Query Params
string
required

ID of the team that owns this data.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*