Removing a VPN User from a Group
Function
This API is used to remove a VPN user from a specified user group.
Calling Method
For details, see Calling APIs.
URI
| 
         Parameter  | 
       
         Type  | 
       
         Mandatory  | 
       
         Description  | 
      
|---|---|---|---|
| 
         project_id  | 
       
         String  | 
       
         Yes  | 
       
         Specifies a project ID. You can obtain the project ID by referring to Obtaining the Project ID.  | 
      
| 
         vpn_server_id  | 
       
         String  | 
       
         Yes  | 
       
         Specifies the ID of a VPN server.  | 
      
| 
         group_id  | 
       
         String  | 
       
         Yes  | 
       
         Specifies the ID of a VPN user group.  | 
      
Request
- Request parameters 
    
Table 2 Request parameters Parameter
Type
Mandatory
Description
users
Array of OpVpnUser objects
Yes
Specifies the VPN user list.
Table 3 OpVpnUser Parameter
Type
Mandatory
Description
id
String
Yes
- Specifies the ID of a VPN user.
 - The value is a UUID containing 36 characters.
 
- Example request
      
POST https://{Endpoint}/v5/{project_id}/p2c-vpn-gateways/vpn-servers/{vpn_server_id}/groups/{group_id}/remove-users { "users": [ { "id": "41ad472e-d3e4-482b-8f00-7b2c1bfc4b7d" } ] } 
 
Response
Status Codes
For details, see Status Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.