Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update post.py #124

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions odins_spear/methods/post.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def group_trunk_group(self, service_provider_id: str, group_id: str, trunk_name:
#USERS

def user(self, service_provider_id: str, group_id: str, user_id: str, first_name: str, last_name: str,
extension: str, web_auth_password: str, payload: dict):
extension: str, web_auth_password: str, payload: dict={}):
"""
Creates a new user in the specified group with the configuration defined in the payload.

Expand All @@ -502,7 +502,7 @@ def user(self, service_provider_id: str, group_id: str, user_id: str, first_name
last_name (str): Last name of new user.
extension (str): Extension number of new user.
web_auth_password (str): Web authentication password. Note get.password_generate() can be used to get this.
payload (dict): User configuration.
payload (dict, optional): User configuration.

Returns:
Dict: New user entity.
Expand Down Expand Up @@ -555,4 +555,4 @@ def user(self, service_provider_id: str, group_id: str, user_id: str, first_name
#USER UTILITIES
#ODIN TASKS COPY
#ODIN CONNECTORS
#LOCALES
#LOCALES