Table of Contents |
---|
Info |
---|
Available since v. 2.17.0 New REST APIs: Available since v. 3.16.* Below REST APIs are now available to space administrators: |
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:
Status | ||||
---|---|---|---|---|
|
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:
Code Block | ||
---|---|---|
| ||
{ "newCreatorName": "johnb" } |
Response format: JSON
Example response:
Code Block | ||||
---|---|---|---|---|
| ||||
{ "total": 2, "spacesSipped": [], "spacesChanged": [ "SPACETEAM", "SPACEWIKI" ], "message": "success" } |
Change the space creator
by space keyAvailable only for Confluence Administrators or Space Administrator
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:
Status | ||||
---|---|---|---|---|
|
URL: {CONFLUENCE_URL}/rest/extender/1.0/space/changeSpaceCreator/space/{SPACE_KEY}
where {SPACE_KEY} is the space key
Request format: JSON
Example request:
Code Block | ||
---|---|---|
| ||
{ "newCreatorName": "johnb" } |
Response format: JSON
Example response:
Code Block | ||||
---|---|---|---|---|
| ||||
{ "message": "success" } |