0

I want to get the Available Sandbox license count for the different types of Sandboxes available to my org through SOQL or REST endpoint. Is there any way to achieve this? I know we have the sanboxinfo api but that provides the info about Sandboxes that we are using and not the available count of different Sandbox type available to my org. enter image description here

1 Answer 1

0

I don't think there's a straightforward way to obtain it with SOQL, in the sandbox itself. You could do a Tooling API callout to the production org and query the SandboxInfo table.

Refer the Link

Refer the Link

2
  • Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – identigral
    Commented Jul 5, 2022 at 16:03
  • SandboxInfo API looks to provide the information about the Sandboxes which are being used and not the available Sandboxes and their types. Please correct if my understanding is wrong? I want to fetch the information about the number of different available Sandboxes which i can use and not the information about the sandboxes that are currently in use, thanks. Commented Jul 7, 2022 at 15:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .