diff --git a/src/management/DeviceCredentialsManager.js b/src/management/DeviceCredentialsManager.js index af97301a5..1cff47c31 100644 --- a/src/management/DeviceCredentialsManager.js +++ b/src/management/DeviceCredentialsManager.js @@ -88,10 +88,13 @@ utils.wrapPropertyMethod(DeviceCredentialsManager, 'createPublicKey', 'resource. * @memberOf module:management.DeviceCredentialsManager.prototype * * @example - * management.deviceCredentials.getAll(function (err, credentials) { + * var params = {user_id: "USER_ID"}; + * + * management.deviceCredentials.getAll(params, function (err, credentials) { * console.log(credentials.length); * }); * + * @param {Object} params Credential parameters. * @param {Function} [cb] Callback function. * * @return {Promise|undefined} diff --git a/src/management/index.js b/src/management/index.js index 66706a3b4..77e6327d6 100644 --- a/src/management/index.js +++ b/src/management/index.js @@ -791,10 +791,13 @@ utils.wrapPropertyMethod( * @memberOf module:management.ManagementClient.prototype * * @example - * management.getDeviceCredentials(function (err, credentials) { + * var params = {user_id: "USER_ID"}; + * + * management.getDeviceCredentials(params, function (err, credentials) { * console.log(credentials.length); * }); * + * @param {Object} params Credential parameters. * @param {Function} [cb] Callback function. * * @return {Promise|undefined}