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?
Unfortunately, currently there is no API call that can get you spaces in trash, Get Spaces can only get current and archived spaces.
I was afraid that this would be the answer. Thank you for providing another set of eyes to confirm :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.