Skip to content

Commit 64bec97

Browse files
committed
Add requestOptions param to deactivateUserAccount method
1 parent 2c9dc44 commit 64bec97

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Models/UserModel.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,13 @@ public function updateUser($userId, array $requestOptions)
125125
}
126126

127127
/**
128-
* @param $userId
128+
* @param $userId
129+
* @param array $requestOptions
129130
* @return ResponseInterface
130131
*/
131-
public function deactivateUserAccount($userId)
132+
public function deactivateUserAccount($userId, array $requestOptions = [])
132133
{
133-
return $this->client->delete(self::$endpoint . '/' . $userId);
134+
return $this->client->delete(self::$endpoint . '/' . $userId, $requestOptions, RequestOptions::QUERY);
134135
}
135136

136137
/**

0 commit comments

Comments
 (0)