lib/phrase/api/members_api.rb in phrase-1.0.1 vs lib/phrase/api/members_api.rb in phrase-1.0.2
- old
+ new
@@ -13,20 +13,20 @@
# @param id [String] ID
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @return [nil]
def member_delete(account_id, id, opts = {})
- member_delete_with_http_info(account_id, id, opts)
- nil
+ data, _status_code, _headers = member_delete_with_http_info(account_id, id, opts)
+ data
end
# Remove a user from the account
# Remove a user from the account. The user will be removed from the account but not deleted from Phrase. Access token scope must include <code>team.manage</code>.
# @param account_id [String] Account ID
# @param id [String] ID
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
- # @return [Array<(Response<(nil)>, Integer, Hash)>] Response<(nil, response status code and response headers
+ # @return [Array<(Response, Integer, Hash)>] Response<(nil, response status code and response headers
def member_delete_with_http_info(account_id, id, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: MembersApi.member_delete ...'
end
# verify the required parameter 'account_id' is set