Remote Console Access API reference (1.0.0)
Download OpenAPI specification:Download
This manual explains how to use the Smart Data Platform Remote Console Access API
Show User
Shows the VPN user.
path Parameters
| tenant_id required | string ID of the tenant |
| username required | string The username of the VPN user. |
Responses
OK
Unauthorized
Forbidden
Not Found
Request URL or method is invalid
Internal Server Error
Service Unavailable
Response samples
- 200
- 401
- 403
- 404
- 405
- 500
- 503
{- "user": {
- "name": "9d76dd01-4d8d-4c02-b0b6-279742c787ae",
}
}Update User
Updates the VPN user.
path Parameters
| tenant_id required | string ID of the tenant |
| username required | string The username of the VPN user. |
Request Body schema: application/json
| user | object |
Responses
OK
Bad Request
Unauthorized
Forbidden
Not Found
Request URL or method is invalid
Bad Media Type
Internal Server Error
Service Unavailable
Request samples
- Payload
{- "user": {
- "password": "<password>"
}
}Response samples
- 200
- 400
- 401
- 403
- 404
- 405
- 415
- 500
- 503
{- "user": {
- "name": "9d76dd01-4d8d-4c02-b0b6-279742c787ae",
}
}Delete User
Deletes the VPN user.
path Parameters
| tenant_id required | string ID of the tenant |
| username required | string The username of the VPN user. |
Responses
OK
Bad Request
Unauthorized
Forbidden
Not Found
Request URL or method is invalid
Internal Server Error
Service Unavailable
Response samples
- 400
- 401
- 403
- 404
- 405
- 500
- 503
{- "badRequest": {
- "code": 400,
- "message": "Request Parameter Error:\\n"
}
}List Users
Lists VPN users. Currently, only one VPN user can be created per tenant, so the user list contains only one user.
path Parameters
| tenant_id required | string ID of the tenant |
Responses
OK
Bad Request
Unauthorized
Forbidden
Request URL or method is invalid
Internal Server Error
Service Unavailable
Response samples
- 200
- 400
- 401
- 403
- 405
- 500
- 503
{- "users": [
- {
- "name": "9d76dd01-4d8d-4c02-b0b6-279742c787ae",
}
]
}Create User
Creates a VPN user. Only one VPN user can be created per tenant. The username is equal to the tenant_id.
path Parameters
| tenant_id required | string ID of the tenant |
Request Body schema: application/json
| user | object |
Responses
OK
Bad Request
Unauthorized
Forbidden
Request URL or method is invalid
Parameter is over the maximum number
Bad Media Type
Internal Server Error
Service Unavailable
Request samples
- Payload
{- "user": {
- "password": "<password>"
}
}Response samples
- 200
- 400
- 401
- 403
- 405
- 413
- 415
- 500
- 503
{- "user": {
- "name": "9d76dd01-4d8d-4c02-b0b6-279742c787ae",
- "password": "dummy_passw@rd",
}
}List Versions information
Lists VPN versions. Currently, the only supported version is 1.0.
Responses
OK
Unauthorized
Forbidden
Request URL or method is invalid
Internal Server Error
Service Unavailable
Response samples
- 200
- 401
- 403
- 405
- 500
- 503
{- "versions": [
- {
- "status": "CURRENT",
- "id": "v1.0",
}
]
}Show Version 1.0 information
Shows the VPN version 1.0 information.
Responses
OK
Unauthorized
Forbidden
Request URL or method is invalid
Internal Server Error
Service Unavailable
Response samples
- 200
- 401
- 403
- 405
- 500
- 503
{- "version": {
- "status": "CURRENT",
- "id": "v1.0",
}
}