Skip to content

Commit 2b06306

Browse files
Fixed doc links in profile group (#261)
## 📝 Description Fixed doc links in profile group ## ✔️ How to Test `pytest test`
1 parent f2ecdb6 commit 2b06306

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

linode_api4/groups/profile.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ def user_preferences(self):
6868
def security_questions(self):
6969
"""
7070
Returns a collection of security questions and their responses, if any, for your User Profile.
71+
72+
API Documentation: https://www.linode.com/docs/api/profile/#security-questions-list
7173
"""
7274

7375
result = self.client.get(
@@ -118,7 +120,7 @@ def phone_number_delete(self):
118120
"""
119121
Delete the verified phone number for the User making this request.
120122
121-
API Documentation: https://api.linode.com/v4/profile/phone-number
123+
API Documentation: https://www.linode.com/docs/api/profile/#phone-number-delete
122124
123125
:returns: Returns True if the operation was successful.
124126
:rtype: bool
@@ -141,7 +143,7 @@ def phone_number_verify(self, otp_code):
141143
Verify a phone number by confirming the one-time code received via SMS message
142144
after accessing the Phone Verification Code Send (POST /profile/phone-number) command.
143145
144-
API Documentation: https://api.linode.com/v4/profile/phone-number/verify
146+
API Documentation: https://www.linode.com/docs/api/profile/#phone-number-verify
145147
146148
:param otp_code: The one-time code received via SMS message after accessing the Phone Verification Code Send
147149
:type otp_code: str
@@ -173,7 +175,7 @@ def phone_number_verification_code_send(self, iso_code, phone_number):
173175
"""
174176
Send a one-time verification code via SMS message to the submitted phone number.
175177
176-
API Documentation: https://api.linode.com/v4/profile/phone-number
178+
API Documentation: https://www.linode.com/docs/api/profile/#phone-number-verification-code-send
177179
178180
:param iso_code: The two-letter ISO 3166 country code associated with the phone number.
179181
:type iso_code: str

0 commit comments

Comments
 (0)