Account

Account

In account APIs needs to be authenticated with the Bearer Token or API Key. This section is created for managing the account, Update & Deletes.

Before you want to edit account you need verify password for security reasons. You can verify password by sending a POST request to the following endpoint. After you verify password you will get a temporary token which will be valid for 1 hour. You can use this token to update account details.

POST /v1/account/security Verify Password (Create token)

Authorization required: OAuth2.0 Bearer Token

Parameters:

nametypedata typedescription
passwordbodystringPassword of the account

Responses: Responses:

http codecontent-typeresponse
200application/json{"message": "Success", "token" {'YOUR TEMP TOKEN'} }
401application/json{"message": "Authentication required"}

Example cURL:

curl --location 'https://api.linearfox.com/v1/account/security' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer [YOUR TOKEN] \
--data-urlencode 'password=' 

Select the section which you side to learn more about.