Hello community.
I have an automation (python) creating spaces for users when they request them via service desk. Works as intended, with only one single issue:
If a space is in trash and not yet deleted, the key of that space is blocked for new space creations. That is quite expected. Yet, i find no way to validate a given space key before creating the space to report it as unavailable before POSTing the creation request? I'm looking at the documentation and both REST API versions, but i cannot find a solution.
So, TL;DR: Anyone know a way via REST to retrieve spacekeys of spaces currently in the trash?