Cloud Storage: Returns a Namespace Slot Configuration for Users
This endpoint helps you to create a slot configuration for user.
Notes
Create slot configuration for a given user/namespace.
Request
HTTP Request
POST /admin/namespaces/{namespace}/users/{userid}/config
Permissions
Required permission: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SLOTCONFIG", action=1 (CREATE).
Parameters
Parameters | Value | Description |
---|---|---|
namespace | String | Authentication Type |
userId | String | The user ID |
Request Body
{
"maxSlotSize": 0,
"maxSlots": 0,
"namespace": "string",
"userId": "string"
}
Properties | Value | Description |
---|---|---|
maxSlotSize | 0 | - |
maxSlots | 0 | - |
namespace | string | The namespace |
userId | string | The user ID |
Response
Success Response
{
"maxSlotSize": 0,
"maxSlots": 0,
"namespace": "string",
"userId": "string"
}
Properties | Value | Description |
---|---|---|
maxSlotSize | 0 | - |
maxSlots | 0 | - |
namespace | string | The namespace |
userId | string | The user ID |
Messages
HTTP Status Code | Reason |
---|---|
201 | Reason Response Model Headers201Successful creation of user/namespace slot config. |
401 | Unauthorized |
403 | Forbidden |
404 | User with given userid does not exist |
500 | Internal server error |