Insert mapping of ACL user into local feed
Sets mapping of ACL user on the specific storage to Onedata user 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 for which onedata user mapping should be set. |
| username required | integer The ACL name of the user on the storage. |
Request body
Credentials identifying user in the Onedata system.
| Property | Type & Description |
|---|---|
mappingScheme string Name of scheme used to represent user identity. | |
Request Examples
cat user_credentials.json | onepanel-rest-cli -u onepanel:$PASSPHRASE --host https://$HOST:9443 localFeedSetAclUserToOnedataUserMapping id=$STORAGE_ID username=$ACL_USER
Responses
The mapping was successfully set in local feed.
Unauthorized request.
Forbidden request.
Storage or mapping for ACL user 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.