{
"opencollection": "1.0.0",
"info": {
"name": "Atlassian Admin Account Space Permissions API",
"version": "1.0.0"
},
"request": {
"auth": {
"type": "bearer",
"token": "{{bearerToken}}"
}
},
"items": [
{
"info": {
"name": "Space Permissions",
"type": "folder"
},
"items": [
{
"info": {
"name": "Atlassian Add New Permission to Space",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.atlassian.com/wiki/rest/api/space/:spaceKey/permission",
"params": [
{
"name": "spaceKey",
"value": "",
"type": "path",
"description": "The key of the space to be queried for its content."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Adds new permission to space.
If the permission to be added is a group permission, the group can be identified
by its group name or group id.
Note: Apps cannot access this REST resource - including when utilizing user impersonation.
**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
'Admin' permission for the space."
},
{
"info": {
"name": "Atlassian Add New Custom Content Permission to Space",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.atlassian.com/wiki/rest/api/space/:spaceKey/permission/custom-content",
"params": [
{
"name": "spaceKey",
"value": "",
"type": "path",
"description": "The key of the space to be queried for its content."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Adds new custom content permission to space.
If the permission to be added is a group permission, the group can be identified
by its group name or group id.
Note: Only apps can access this REST resource and only make changes to the respective app permissions.
**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
'Admin' permission for the space."
},
{
"info": {
"name": "Atlassian Remove a Space Permission",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/wiki/rest/api/space/:spaceKey/permission/:id",
"params": [
{
"name": "spaceKey",
"value": "",
"type": "path",
"description": "The key of the space to be queried for its content."
},
{
"name": "id",
"value": "",
"type": "path",
"description": "Id of the permission to be deleted."
}
]
},
"docs": "Removes a space permission. Note that removing Read Space permission for a user or group will remove all
the space permissions for that user or group.
Note: Apps cannot access this REST resource - including when utilizing user impersonation.
**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
'Admin' permission for the space."
}
]
}
],
"bundled": true
}