I would like to use the Confluence REST API to create a personal space for a user that is not me. However, the very straightforward JSON string of
-d '{"key":"~generic.user","name":"Generic User"}'fails because of "Invalid space key". Obviously, both the tilde and the period are invalid, but I assumed that the _private option would account for that. Otherwise, why have a special URL just for personal spaces?
So, what am I doing wrong?