REST API - Space Creator


Change the creator of all spaces created by the user

Available only for Confluence Administrators

When sometimes a user leaves your company, you can change the space he has created to another user instead of an "unknown user"

Method type: PUT

URL: {CONFLUENCE_URL}/rest/extender/1.0/space/changeSpaceCreator/user/{USER_NAME_OR_KEY}

  • where {USER_NAME_OR_KEY} is the user name or the user key

Request format: JSON

Example request:

1 2 3 { "newCreatorName": "johnb" }

Response format: JSON

Example response:

1 2 3 4 5 6 7 8 9 { "total": 2, "spacesSipped": [], "spacesChanged": [ "SPACETEAM", "SPACEWIKI" ], "message": "success" }

 


Change the space creator by space key

Available only for Confluence Administrators

When sometimes a user leaves your company, you can change the space he has created to another user instead of an "unknown user"

Method type: PUT

URL: {CONFLUENCE_URL}/rest/extender/1.0/space/changeSpaceCreator/space/{SPACE_KEY}

  • where {SPACE_KEY} is the space key

Request format: JSON

Example request:

1 2 3 { "newCreatorName": "johnb" }

Response format: JSON

Example response:

1 2 3 { "message": "success" }