% sf org sandbox resume --name INT -o xxx
=== Sandbox Org Create/Refresh Status
Field Value
───────────── ────────────────────────────
Id xxx
SandboxName INT
Status Completed
LicenseType DEVELOPER
SandboxInfoId xxx
Created Date 2024-05-20T17:43:43.000+0000
CopyProgress 100%
SandboxOrg xxx
Description xxx
---------------------
Sandbox Create/Refresh Stages
✓ - Pending
✓ - Processing
✓ - Activating
✓ - Authenticating
The sandbox org create/refresh was successful.
The username for the sandbox is user@domain.com.int.
You can open the org by running "sf org open -o user@domain.com.int"
% sf org sandbox resume --name INT -o xxx --json
{
"status": 0,
"result": {
"attributes": {
"type": "SandboxProcess",
"url": "/services/data/v60.0/tooling/sobjects/SandboxProcess/xxx"
},
"Id": "xxx",
"Status": "Completed",
"SandboxName": "INT",
"SandboxInfoId": "xxx",
"LicenseType": "DEVELOPER",
"CreatedDate": "2024-05-20T17:43:43.000+0000",
"CopyProgress": 100,
"SandboxOrganization": "xxx",
"SourceId": null,
"Description": "xxx",
"EndDate": "2024-05-20T18:41:24.000+0000"
},
"warnings": []
}
Discussed in #2877
Originally posted by RupertBarrow May 21, 2024
The information returned by
sf org sandbox resumeandsf org sandbox resume --jsonare not consistent :whereas
The
--jsondoes not return sufficient information to log in to the org.We need
--jsonto return theusername(as it is displayed in the interactive mode), or at least the sandboxalias