REST API - Content Creator
Available since v. 2.17.0
Change the creator of all contents in the space created by user
Available only for Confluence Administrators
When sometimes a user leaves your company, you can change the content (pages / blogs) he has created to another user instead of an "unknown user"
Method type: PUT
URL: {CONFLUENCE_URL}/rest/extender/1.0/content/changeCreator/space/{SPACE_KEY}/user/{USER_NAME_OR_KEY}
where {SPACE_KEY} is the space 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
{
"total": 1,
"contentsSkipped": [],
"contentsChanged": [
786506
],
"message": "success"
}
1
2
3
4
5
6
7
8
9
10
11
12
{
"total": 5,
"contentsSkipped": [],
"contentsChanged": [
786508,
786509,
786507,
786514,
786515
],
"message": "success"
}
Change the creator of all content by id’s
Available only for Confluence Administrators
When sometimes a user leaves your company, you can change the content (pages / blogs) he has created to another user instead of an "unknown user"
Method type: PUT
URL: {CONFLUENCE_URL}/rest/extender/1.0/content/changeCreator/contentId
Request format: JSON
Example request:
1
2
3
4
5
6
{
"contentIds": [
1111111, 2222222, 786506
],
"newCreatorName": "johnb"
}
Response format: JSON
Example response:
1
2
3
4
5
6
7
8
9
10
11
{
"total": 1,
"contentsSkipped": [
1111111,
2222222
],
"contentsChanged": [
786506
],
"message": "success"
}