Add new permission to space
POST {{baseUrl}}/api/space/:spaceKey/permission
Adds new permission to space.
Permissions required: 'Admin' permission for the space.
Request Body
{"subject"=>{"type"=>"<string>", "identifier"=>"<string>"}, "operation"=>{"key"=>"<string>", "target"=>"<string>"}, "id"=>"<long>", "_links"=>{}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"subject":{"type":"\u003cstring\u003e","identifier":"\u003cstring\u003e"},"operation":{"key":"\u003cstring\u003e","target":"\u003cstring\u003e"},"id":"\u003clong\u003e","_links":{}}