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

Users

List, create, get details, update, and delete VPN users.

Show User

Show VPN user.

path Parameters
tenant_id
required
string

ID of the tenant

username
required
string

The username of VPN user.

Responses

200

OK

401

Unauthorized

403

Forbidden

404

Not Found

405

request URL or method is invalid

500

Internal Server Error

503

Service Unavailable

get/users/{username}
https://{api_endpoint}/v1.0/{tenant_id}/users/{username}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}

Update User

Update VPN user.

path Parameters
tenant_id
required
string

ID of the tenant

username
required
string

The username of VPN user.

Request Body schema: application/json
user
object

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

405

request URL or method is invalid

415

Bad Media Type

500

Internal Server Error

503

Service Unavailable

put/users/{username}
https://{api_endpoint}/v1.0/{tenant_id}/users/{username}

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "user":
    {
    }
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}

Delete User

Delete VPN user.

path Parameters
tenant_id
required
string

ID of the tenant

username
required
string

The username of VPN user.

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

405

request URL or method is invalid

500

Internal Server Error

503

Service Unavailable

delete/users/{username}
https://{api_endpoint}/v1.0/{tenant_id}/users/{username}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "badRequest":
    {
    }
}

List Users

List VPN user. Now, VPN user can create per one tenant, so user list hash only one user.

path Parameters
tenant_id
required
string

ID of the tenant

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

405

request URL or method is invalid

500

Internal Server Error

503

Service Unavailable

get/users
https://{api_endpoint}/v1.0/{tenant_id}/users

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}

Create User

Create VPN user. One VPN user can create per one tenant. And username equal to tenant_id.

path Parameters
tenant_id
required
string

ID of the tenant

Request Body schema: application/json
user
object

Responses

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

405

request URL or method is invalid

413

parameter is over the maximum number

415

Bad Media Type

500

Internal Server Error

503

Service Unavailable

post/users
https://{api_endpoint}/v1.0/{tenant_id}/users

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "user":
    {
    }
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}

Versions

Get supported API versions.

List Versions information

List VPN versions. Now, supported version is only 1.0.

Responses

200

OK

401

Unauthorized

403

Forbidden

405

request URL or method is invalid

500

Internal Server Error

503

Service Unavailable

get/
https://{api_endpoint}/

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}

Show Version 1.0 information

Show VPN version.

Responses

200

OK

401

Unauthorized

403

Forbidden

405

request URL or method is invalid

500

Internal Server Error

503

Service Unavailable

get/v1.0
https://{api_endpoint}/v1.0

Response samples

Content type
application/json
Copy
Expand all Collapse all
{}