Adding group to user
- Print
- PDF
Adding group to user
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
You can add a group to a user.
Requests
- POST /groups/{groupId}/users
Request path
Parameters | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
groupId | Y | String | Group Id |
{
"userIds": ["String", "String"]
}
Parameters | Requirement status | Type | Description | Restrictions |
---|---|---|---|---|
userIds | Y | Array | User ID list |
Responses
Response bodies
[
"id": "String",
"nrn": "String",
"success" : "boolean",
"message": "String"
]
Parameters | Type | Description | Restrictions |
---|---|---|---|
[].id | String | User ID | |
[].nrn | String | nrn of the added user | |
[].success | Boolean | Whether it is a success | |
[].message | String | Failure error message |
Errors
Errors that may occur while using this action are listed below. For error response format, see ErrorResponse.
For more information on common errors, see NAVER Cloud Platform API.
HTTP status code | Error code | Error message |
---|---|---|
400 | 400 | Invalid request |
400 | 9050 | User does not exist. |
400 | 9061 | Group does not exist |
Was this article helpful?