Skip to main content
POST
Restore an accountant

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

*/*

PartnerRestoreAccount APIParam

client_id
string
required

The client_id of the Tight Partner

Example:

"fake_client_id"

client_secret
string
required

The client_secret of the Tight Partner

Example:

"fake_client_secret"

access_token
string
required

access_token of the account to be restored

Example:

"1234"

Response

200 - application/json

Successful operation

result
enum<string>
Available options:
SUCCESS,
INVALID_CREDENTIALS,
SUCCESS_TEMP_PASSWORD,
SUCCESS_PASSWORD_EXPIRED,
SUCCESS_HAS_NO_PASSWORD,
FAILURE,
SUCCESS_UPDATED,
INVALID_PLATFORM
Example:

"SUCCESS"

oAuth
object
error
object

Description of errors