Update a Coach
Use the coachUpdate
mutation to update the coach name, email or password within the TeleWellness Portal.
Available argument
Argument Name | Is required? | Type | Description |
| Yes | ID | Unique Coach ID. Get this ID by executing the |
name | No | String | Coach name |
No | string | Coach email | |
password | No | Object that contains the password fields. |
UpdatePasswordInput object
Available Fields
Field Name | Type | Description |
| String | Introduce the old password |
| String | Introduce the new password |
Available Fields
The following fields will be displayed in the response:
Field Name | Type | Description |
| Boolean | True if the coach information has been updated successfully. Otherwise, False |
| String | Description of the result |
| Object that returns the coach information |
Example
Update the coach name
Verify that the information was updated by accessing the My Account option:
Last updated