Create/Clone Sandbox
POST {{_endpoint}}/services/data/v{{version}}/tooling/sobjects/SandboxInfo
Creates or clones a sandbox. If you wish to clone, fill the SourceId body field with the org Id of the source sandbox.
Request Body
{"SandboxName"=>"devSandbox", "LicenseType"=>"DEVELOPER", "TemplateId"=>nil, "HistoryDays"=>0, "CopyChatter"=>false, "AutoActivate"=>false, "ApexClassId"=>nil, "Description"=>"My new fresh sandbox", "SourceId"=>nil}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"id":"0GQ4H000000CxSzWAK","success":true,"errors":[],"warnings":[],"infos":[]}