Edit security info


The API is provided solely upon personal request.


API base url: https://api.vvvorg.com/v1/vorg-id/

Switch login safety

GET login-safety

scopes: VorgID::edit::secure

Enable or disable additional account login data (2FA, email codes, ....)

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <access_token>

Query Parameters

Parameter
Required?
Type
Description

turnon

yes

bool

Enable or disable the additional safety method.

safetymethod

yes

String

One of the available methods: email_code, 2FA, disable_new_devices.

2FA code

if safetymethod = "2FA"

String

Code from the 2FA application for this user.

Response

{
  "success": "ok",
  "data": {
    "trunon": true,
    "safetymethod": "email_code",
  },
}

Response body (If successful)

Parameter
Required?
Type
Description

success

yes

string

Always have the value ok.

data

yes

array

An array with information about the change.

data[trunon]

yes

bool

The description on the donation page is turned on or off.

data[safetymethod]

yes

string

One of the available methods: email_code, 2FA, disable_new_devices.

Switch recovery safety

GET recovery-safety

scopes: VorgID::edit::secure

Enable or disable recovery method.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <access_token>

Query Parameters

Parameter
Required?
Type
Description

turnon

yes

bool

Enable or disable the additional safety method.

safetymethod

yes

String

One of the available methods: sms_code, email_code, reserve_email_code, through_connected_id.

reserve_email

if safetymethod = "reserve_email_code"

email

Code from the 2FA application for this user.

Response

{
  "success": "ok",
  "data": {
    "trunon": true,
    "safetymethod": "email_code",
  },
}

Response body (If successful)

Parameter
Required?
Type
Description

success

yes

string

Always have the value ok.

data

yes

array

An array with information about the change.

data[trunon]

yes

bool

The description on the donation page is turned on or off.

data[safetymethod]

yes

string

One of the available methods: sms_code, email_code, reserve_email_code, through_connected_id.

Add reserve email

GET add-reserve

scopes: VorgID::edit::secure

Add reserve email for recovering.

Query Parameters

Name
Value

Content-Type

application/json

Authorization

Bearer <access_token>

Body

Parameter
Required?
Type
Description

email

yes

String

Additional email address.

sign

no

String

After the first request, a code will be sent to your email, and a hash token of the code will be returned to you. Have the user enter the code into their system within 15 minutes, combine it with the hash token returned to you using base64_encode("code:hash-token") and resend the request along with the sign.

Response

{
  "success": "ok",
  "data": {
    "email": "[email protected]",
    "hash_token": "rbby435y45&H^U5553g6H43",
  },
}

Response body (If successful)

Parameter
Required?
Type
Description

success

yes

string

Always have the value ok.

data

yes

array

An array with information about the change.

data[email]

yes

String

Connectable email.

data[hash_token]

no

string

Token to confirm OTP code.

Last updated

Was this helpful?