Insert mapping of ACL group into local feed
Sets mapping of ACL group on the specific storage to Onedata group in local feed. Returns an error if the storage has a different LUMA feed than local. This endpoint is relevant only for POSIX compatible storages.
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string The Id of a storage constituting space support for which onedata group mapping should be set. |
| groupname required | integer The ACL name of the group on the storage. |
Request body
Credentials identifying group in the Onedata system.
| Property | Type & Description |
|---|---|
mappingScheme string Name of scheme used to represent group identity. | |
Request Examples
cat group_credentials.json | onepanel-rest-cli -u onepanel:$PASSPHRASE --host https://$HOST:9443 localFeedSetAclGroupToOnedataGroupMapping id=$STORAGE_ID groupname=$ACL_GROUP
Responses
The mapping was successfully set in local feed.
Unauthorized request.
Forbidden request.
Storage or mapping for ACL group does not exist or LUMA feed is not local.
Internal server error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Services needed to fulfill this request are not running.