The legal hold API schedules the Add or Remove Legal Hold job and returns the reference ID.
To call the API, form a URL that includes the required parameters. The parameters determine how Data Archive runs the job. For example, the parameters determine the name of the legal hold group that you want to create, or the entity that you want to apply a legal hold to.
There are different URL formats for creating, applying, and removing legal holds.