All URIs are relative to https://api.iimmpact.com
Method | HTTP request | Description |
---|---|---|
v1AuthChangePasswordPost | POST /v1/auth/change-password | |
v1AuthNewPasswordChallengePost | POST /v1/auth/new-password-challenge | |
v1BalanceGet | GET /v1/balance |
InlineResponse2001 v1AuthChangePasswordPost(newPasswordRequest)
var IimmpactApi = require('iimmpact_api');
var defaultClient = IimmpactApi.ApiClient.instance;
// Configure API key authorization: SSO
var SSO = defaultClient.authentications['SSO'];
SSO.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//SSO.apiKeyPrefix = 'Token';
var apiInstance = new IimmpactApi.MyAccountApi();
var newPasswordRequest = new IimmpactApi.ChangePasswordRequest(); // ChangePasswordRequest |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.v1AuthChangePasswordPost(newPasswordRequest, callback);
Name | Type | Description | Notes |
---|---|---|---|
newPasswordRequest | ChangePasswordRequest |
- Content-Type: application/json
- Accept: application/json
NewPasswordResponses v1AuthNewPasswordChallengePost(newPasswordRequest)
var IimmpactApi = require('iimmpact_api');
var apiInstance = new IimmpactApi.MyAccountApi();
var newPasswordRequest = new IimmpactApi.NewPasswordRequest(); // NewPasswordRequest |
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.v1AuthNewPasswordChallengePost(newPasswordRequest, callback);
Name | Type | Description | Notes |
---|---|---|---|
newPasswordRequest | NewPasswordRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
InlineResponse200 v1BalanceGet()
var IimmpactApi = require('iimmpact_api');
var defaultClient = IimmpactApi.ApiClient.instance;
// Configure API key authorization: SSO
var SSO = defaultClient.authentications['SSO'];
SSO.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//SSO.apiKeyPrefix = 'Token';
var apiInstance = new IimmpactApi.MyAccountApi();
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.v1BalanceGet(callback);
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json