Generate .ovpn profile for an existing device.
POST /api/v1/devices/{id}/profile
Specify the regionId where this device will connect. The actual list of regionIds can be obtained from the GET /api/beta/regions endpoint.
Parameters
Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | true | Device ID |
userId | query | string | true | User ID |
regionId | query | string | true | Region ID |
Responses
Status | Meaning | Description | Schema |
|---|---|---|---|
200 | OK | string |
To perform this operation, you must be authenticated by means of one of the following methods: oauth