Insert default posix credentials into local feed
Sets default storage credentials for the space supported by POSIX-compatible storage 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 default storage credentials should be set. |
| space_id required | string The Id of a space constituting space support for which default storage credentials should be set. |
Request body
New default storage credentials for the space support.
| Property | Type & Description |
|---|---|
uid integer User identifier. | |
gid integer Group identifier. | |
Request Examples
{
"uid": 1001,
"gid": 1002
}Responses
Default storage credentials were successfully set in local feed.
Unauthorized request.
Forbidden request.
Support 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.