Deleting an ACL Account
Function
This API is used to delete a normal ACL account.
Calling Method
For details, see Calling APIs.
URI
DELETE /v2/{project_id}/instances/{instance_id}/accounts/{account_id}
| 
        Parameter  | 
      
        Mandatory  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|---|
| 
        project_id  | 
      
        Yes  | 
      
        String  | 
      
        Project ID. For details, see Obtaining a Project ID.  | 
     
| 
        instance_id  | 
      
        Yes  | 
      
        String  | 
      
        Instance ID.  | 
     
| 
        account_id  | 
      
        Yes  | 
      
        String  | 
      
        ACL account ID.  | 
     
Request Parameters
None
Response Parameters
Status code: 200
The ACL account deletion task is successfully delivered.
Status code: 400
| 
        Parameter  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        error_msg  | 
      
        String  | 
      
        Error message.  | 
     
| 
        error_code  | 
      
        String  | 
      
        Error code.  | 
     
| 
        error_ext_msg  | 
      
        String  | 
      
        Extended error information. This parameter is not used currently and is set to null.  | 
     
Status code: 401
| 
        Parameter  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        error_msg  | 
      
        String  | 
      
        Error message.  | 
     
| 
        error_code  | 
      
        String  | 
      
        Error code.  | 
     
| 
        error_ext_msg  | 
      
        String  | 
      
        Extended error information. This parameter is not used currently and is set to null.  | 
     
Status code: 403
| 
        Parameter  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        error_msg  | 
      
        String  | 
      
        Error message.  | 
     
| 
        error_code  | 
      
        String  | 
      
        Error code.  | 
     
| 
        error_ext_msg  | 
      
        String  | 
      
        Extended error information. This parameter is not used currently and is set to null.  | 
     
Status code: 404
| 
        Parameter  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        error_msg  | 
      
        String  | 
      
        Error message.  | 
     
| 
        error_code  | 
      
        String  | 
      
        Error code.  | 
     
| 
        error_ext_msg  | 
      
        String  | 
      
        Extended error information. This parameter is not used currently and is set to null.  | 
     
Status code: 500
| 
        Parameter  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        error_msg  | 
      
        String  | 
      
        Error message.  | 
     
| 
        error_code  | 
      
        String  | 
      
        Error code.  | 
     
| 
        error_ext_msg  | 
      
        String  | 
      
        Extended error information. This parameter is not used currently and is set to null.  | 
     
Example Requests
DELETE https://{dcs_endpoint}/v2/{project_id}/instances/{instance_id}/accounts/{account_id}
 Example Responses
Status code: 400
Invalid request.
{
  "error_code" : "DCS.4961",
  "error_msg" : "Acl account request param invalid."
}
 Status Codes
| 
        Status Code  | 
      
        Description  | 
     
|---|---|
| 
        200  | 
      
        The ACL account deletion task is successfully delivered.  | 
     
| 
        400  | 
      
        Invalid request.  | 
     
| 
        401  | 
      
        Invalid authentication information.  | 
     
| 
        403  | 
      
        Request rejected.  | 
     
| 
        404  | 
      
        The requested resource could not be found.  | 
     
| 
        500  | 
      
        Internal service error.  | 
     
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.