Google Admin API doesn't seem to offer sandbox test capabilities.
This is the conclusion of a tour of the community, the official document.
I think it was in Gsuite a few years ago. Does Google Workspace Admin provide an API for testing?
Sorry if it's a duplicate question I didn't find a similar one.