POST /wiki/rest/api/space/{spaceKey}/permission
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 required: 'Admin' permission for the space.
Servers
- https://your-domain.atlassian.net
Path parameters
Name | Type | Required | Description |
---|---|---|---|
spaceKey |
String | Yes |
The key of the space to be queried for its content. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
_links |
Object | No | |
_links.Embeddable |
Object | No | |
_links.ContentId |
String | No | |
operation |
Object | Yes | |
operation.key |
String | Yes |
Possible values:
|
operation.target |
String | Yes |
The space or content type that the operation applies to. Possible values:
|
subject |
Object | Yes |
The user or group that the permission applies to. |
subject.identifier |
String | Yes |
for for |
subject.type |
String | Yes |
Possible values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.