POST /wiki/rest/api/space/{spaceKey}/permission/custom-content
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 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 |
---|---|---|---|
subject |
Object | Yes |
The user or group that the permission applies to. |
subject.identifier |
String | Yes |
for for |
subject.type |
String | Yes |
Possible values:
|
operations[] |
Array | Yes | |
operations[].key |
String | Yes |
The operation type Possible values:
|
operations[].target |
String | Yes |
The custom content type |
operations[].access |
Boolean | Yes |
Grant or restrict access |
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.