Add sub account to group
- Print
- PDF
Add sub account to group
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
- Add a sub account to a group.
API
- POST /groups/{groupId}/sub-accounts
Request
Path variables
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
groupId | Y | String | Group ID |
Body
{
"subAccountIdList": [
"string"
]
}
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
subAccountIdList | Y | array | Sub account ID list |
Response
- Response
Parameter name | Required | Type | Description |
---|---|---|---|
ProcessResult | Y | Array | Processing result |
- Response example - Success
[
{
"success": true,
"id": "subAccountId1"
}
]
- Response example - Sub account already registered
[
{
"success": false,
"id": "subAccountId2",
"message": "This sub account already exists."
}
]
Error
Errors that may occur while using this action are listed below. For error response format, see ErrorResponse.
For more information about common errors, see NAVER Cloud Platform API.
HTTP status code | Error code | Error message |
---|---|---|
400 | 30 | Group that doesn't exist |
Was this article helpful?