REST API - Space Creator
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:Â 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:
{
"newCreatorName": "johnb"
}
Response format: JSON
Example response:
{
"total": 2,
"spacesSipped": [],
"spacesChanged": [
"SPACETEAM",
"SPACEWIKI"
],
"message": "success"
}
Â
Change the space creator
Available 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:Â 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:
{
"newCreatorName": "johnb"
}
Response format: JSON
Example response:
Â