Attempting to create personal spaces for new users that join the company in an automated way (spaces that are prefixed with a ~).
I've got a code snippet that works.... but the space type keeps being set to global even though I've explicitly declare the type to be personal.
I'm willing to bet that my payload isn't correct and I've been unable to find anything online which yields good results so far.
POST'ing to the /space endpoint with the following payload:
{
'key': 'newuser',
'name':'Home Page for newuser',
'type':'personal',
'description': {
'plain': {
'value': 'Personal Space for newuser.',
'representation': 'plain'
}
}
}
The REST api currently does not allow for the creation of personal spaces.
You may have to use the (now deprecated) soap api : https://developer.atlassian.com/server/confluence/remote-confluence-methods/#spaces , which has an endpoint for creating personal spaces.
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.