Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Add User Group Map

POST /object/nfs/users

Creates a mapping between ECS user/group and corresponding UNIX user Id. The mapping specifies how a user on ECS will be mapped to a UNIX user Id and vice versa.


Required Roles

This call has no restrictions.


Prerequisites

The following conditions must be met in order to call this operation.

  • Only authenticated users can create mappings


Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
object_nfs_add_user
namespace Represents the namespace to which the usergroup mapping belongs String
type Represents the type of mapping. Allowed values : "group", "user" String
name Represents the credentials of the object user String
id Represents the id to be associated with the object user. This is a numeric value (Typically a user's uid attribute on a linux client.) String
mappingId Represents the id of this object String

Response Body

Response indicating success or failure of the create mapping operation