SubAccount Overview
- Print
- PDF
SubAccount Overview
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
This provides an API that can manage SubAccount/Group/Policy information.
This API is RESTful API and uses HTTP GET/POST/PUT/DELETE methods.
Common Setting
API URL
GET or POST or PUT or DELETE
https://subaccount.apigw.ntruss.com/api/v1
Request headers
Go to Guide for how to generate a Naver Cloud Platform authentication key and signature
Header | Description |
---|---|
x-ncp-apigw-timestamp | This shows the time elapsed since January 1, 1970 00:00:00 UTC. If the time differs from that of the API Gateway server by 5 minutes or more, then the request is considered invalid. x-ncp-apigw-timestamp:{Timestamp} |
x-ncp-iam-access-key | This is the Access Key ID value issued by the Naver Cloud Platform portal.x-ncp-iam-access-key:{Main Account Access Key} |
x-ncp-apigw-signature-v2 | This is the signature encrypted Access Key ID value and Secret Key.x-ncp-apigw-signature-v2:{API Gateway Signature} |
Common Model
ProcessResult
Parameter | Required | Type | Description |
---|---|---|---|
success | Y | Boolean | Result of processing |
id | N | String | Creation/Editing result ID (Used in Creation and Multi Add/Delete APIs) |
message | N | String | Result message of processing |
- model
ProcessResult {
Boolean success;
String id;
String message;
}
- json
{
"id": "",
"success": true
}
ErrorResponse
Parameter | Required | Type | Description |
---|---|---|---|
errorCode | Y | int | Error code |
message | Y | String | Error message |
- model
ErrorResponse {
int errorCode;
String message;
}
- json
{
"errorCode": 9011,
"message": "Error message"
}
Operations
SubAccount
GET
Search login pagePOST
Set login pageGET
Duplicate check for sub account's login IDGET
Validation and complexity check for sub account's passwordGET
Search sub account listGET
Search single sub accountPOST
Create sub accountDELETE
Delete sub accountPUT
Edit sub accountPUT
Reset passwordPOST
Assign policy to sub accountDELETE
Remove policy assigned to sub accountPOST
Add sub account to groupDELETE
Remove sub account from the belonging groupGET
Search sub account console access rulesPUT
Edit sub account console access rulesGET
Search sub account api access rulesPUT
Edit sub account api access rulesGET
Search password expiration date settingsPOST
Set password expiration dateGET
Search session expiration time settingsPOST
Set session expiration time
Group
GET
Search group listGET
Search single groupPOST
Create groupPUT
Edit groupDELETE
Delete groupPOST
Add sub account to groupDELETE
Remove sub account from groupPOST
Assign policy to groupDELETE
Remove policy from group
Policy
Role
GET
Search Role ListGET
Search RolePOST
Create RolePUT
Update RoleDELETE
Delete RolePOST
Assign Policy to RoleDELETE
Remove Policy assigned to RolePOST
Assign Entity to RoleDELETE
Remove Entity Assigned to Role
Was this article helpful?