diff --git a/docs/tools/sdk/python/Reference/Beta/Methods/PersonalAccessTokensApi.md b/docs/tools/sdk/python/Reference/Beta/Methods/PersonalAccessTokensApi.md index e95fb0519..9fa34b5df 100644 --- a/docs/tools/sdk/python/Reference/Beta/Methods/PersonalAccessTokensApi.md +++ b/docs/tools/sdk/python/Reference/Beta/Methods/PersonalAccessTokensApi.md @@ -76,7 +76,8 @@ with ApiClient(configuration) as api_client: create_personal_access_token_request = '''{ "scope" : [ "demo:personal-access-token-scope:first", "demo:personal-access-token-scope:second" ], "accessTokenValiditySeconds" : 36900, - "name" : "NodeJS Integration" + "name" : "NodeJS Integration", + "expirationDate" : "2018-01-11T18:45:37.098Z" }''' # CreatePersonalAccessTokenRequest | Name and scope of personal access token. try: diff --git a/docs/tools/sdk/python/Reference/Beta/Models/CreatePersonalAccessTokenRequest.md b/docs/tools/sdk/python/Reference/Beta/Models/CreatePersonalAccessTokenRequest.md index 4485037d1..ec8cf4f5c 100644 --- a/docs/tools/sdk/python/Reference/Beta/Models/CreatePersonalAccessTokenRequest.md +++ b/docs/tools/sdk/python/Reference/Beta/Models/CreatePersonalAccessTokenRequest.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **name** | **str** | The name of the personal access token (PAT) to be created. Cannot be the same as another PAT owned by the user for whom this PAT is being created. | [required] **scope** | **[]str** | Scopes of the personal access token. If no scope is specified, the token will be created with the default scope \"sp:scopes:all\". This means the personal access token will have all the rights of the owner who created it. | [optional] **access_token_validity_seconds** | **int** | Number of seconds an access token is valid when generated using this Personal Access Token. If no value is specified, the token will be created with the default value of 43200. | [optional] +**expiration_date** | **datetime** | Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date. | [optional] } ## Example @@ -30,7 +31,8 @@ from sailpoint.beta.models.create_personal_access_token_request import CreatePer create_personal_access_token_request = CreatePersonalAccessTokenRequest( name='NodeJS Integration', scope=[demo:personal-access-token-scope:first, demo:personal-access-token-scope:second], -access_token_validity_seconds=36900 +access_token_validity_seconds=36900, +expiration_date='2018-01-11T18:45:37.098Z' ) ``` diff --git a/docs/tools/sdk/python/Reference/Beta/Models/CreatePersonalAccessTokenResponse.md b/docs/tools/sdk/python/Reference/Beta/Models/CreatePersonalAccessTokenResponse.md index 5bf06f044..43d53d139 100644 --- a/docs/tools/sdk/python/Reference/Beta/Models/CreatePersonalAccessTokenResponse.md +++ b/docs/tools/sdk/python/Reference/Beta/Models/CreatePersonalAccessTokenResponse.md @@ -23,6 +23,7 @@ Name | Type | Description | Notes **owner** | [**PatOwner**](pat-owner) | | [required] **created** | **datetime** | The date and time, down to the millisecond, when this personal access token was created. | [required] **access_token_validity_seconds** | **int** | Number of seconds an access token is valid when generated using this Personal Access Token. If no value is specified, the token will be created with the default value of 43200. | [required] +**expiration_date** | **datetime** | Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date. | [required] } ## Example @@ -40,7 +41,8 @@ owner=sailpoint.beta.models.pat_owner.PatOwner( id = '2c9180a46faadee4016fb4e018c20639', name = 'Support', ), created='2017-07-11T18:45:37.098Z', -access_token_validity_seconds=36900 +access_token_validity_seconds=36900, +expiration_date='2018-01-11T18:45:37.098Z' ) ``` diff --git a/docs/tools/sdk/python/Reference/Beta/Models/GetPersonalAccessTokenResponse.md b/docs/tools/sdk/python/Reference/Beta/Models/GetPersonalAccessTokenResponse.md index 4a49026fd..78674230d 100644 --- a/docs/tools/sdk/python/Reference/Beta/Models/GetPersonalAccessTokenResponse.md +++ b/docs/tools/sdk/python/Reference/Beta/Models/GetPersonalAccessTokenResponse.md @@ -23,6 +23,8 @@ Name | Type | Description | Notes **created** | **datetime** | The date and time, down to the millisecond, when this personal access token was created. | [required] **last_used** | **datetime** | The date and time, down to the millisecond, when this personal access token was last used to generate an access token. This timestamp does not get updated on every PAT usage, but only once a day. This property can be useful for identifying which PATs are no longer actively used and can be removed. | [optional] **managed** | **bool** | If true, this token is managed by the SailPoint platform, and is not visible in the user interface. For example, Workflows will create managed personal access tokens for users who create workflows. | [optional] [default to False] +**access_token_validity_seconds** | **int** | Number of seconds an access token is valid when generated using this Personal Access Token. If no value is specified, the token will be created with the default value of 43200. | [optional] [default to 43200] +**expiration_date** | **datetime** | Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date. | [optional] } ## Example @@ -40,7 +42,9 @@ owner=sailpoint.beta.models.pat_owner.PatOwner( name = 'Support', ), created='2017-07-11T18:45:37.098Z', last_used='2017-07-11T18:45:37.098Z', -managed=False +managed=False, +access_token_validity_seconds=36900, +expiration_date='2018-01-11T18:45:37.098Z' ) ``` diff --git a/docs/tools/sdk/python/Reference/V2024/Methods/PersonalAccessTokensApi.md b/docs/tools/sdk/python/Reference/V2024/Methods/PersonalAccessTokensApi.md index c0f8ced5f..df5fe7ea0 100644 --- a/docs/tools/sdk/python/Reference/V2024/Methods/PersonalAccessTokensApi.md +++ b/docs/tools/sdk/python/Reference/V2024/Methods/PersonalAccessTokensApi.md @@ -76,7 +76,8 @@ with ApiClient(configuration) as api_client: create_personal_access_token_request = '''{ "scope" : [ "demo:personal-access-token-scope:first", "demo:personal-access-token-scope:second" ], "accessTokenValiditySeconds" : 36900, - "name" : "NodeJS Integration" + "name" : "NodeJS Integration", + "expirationDate" : "2018-01-11T18:45:37.098Z" }''' # CreatePersonalAccessTokenRequest | Name and scope of personal access token. try: diff --git a/docs/tools/sdk/python/Reference/V2024/Models/CreatePersonalAccessTokenRequest.md b/docs/tools/sdk/python/Reference/V2024/Models/CreatePersonalAccessTokenRequest.md index ae87435ef..c4c56a393 100644 --- a/docs/tools/sdk/python/Reference/V2024/Models/CreatePersonalAccessTokenRequest.md +++ b/docs/tools/sdk/python/Reference/V2024/Models/CreatePersonalAccessTokenRequest.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **name** | **str** | The name of the personal access token (PAT) to be created. Cannot be the same as another PAT owned by the user for whom this PAT is being created. | [required] **scope** | **[]str** | Scopes of the personal access token. If no scope is specified, the token will be created with the default scope \"sp:scopes:all\". This means the personal access token will have all the rights of the owner who created it. | [optional] **access_token_validity_seconds** | **int** | Number of seconds an access token is valid when generated using this Personal Access Token. If no value is specified, the token will be created with the default value of 43200. | [optional] +**expiration_date** | **datetime** | Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date. | [optional] } ## Example @@ -30,7 +31,8 @@ from sailpoint.v2024.models.create_personal_access_token_request import CreatePe create_personal_access_token_request = CreatePersonalAccessTokenRequest( name='NodeJS Integration', scope=[demo:personal-access-token-scope:first, demo:personal-access-token-scope:second], -access_token_validity_seconds=36900 +access_token_validity_seconds=36900, +expiration_date='2018-01-11T18:45:37.098Z' ) ``` diff --git a/docs/tools/sdk/python/Reference/V2024/Models/CreatePersonalAccessTokenResponse.md b/docs/tools/sdk/python/Reference/V2024/Models/CreatePersonalAccessTokenResponse.md index 97a18f43f..41c882e93 100644 --- a/docs/tools/sdk/python/Reference/V2024/Models/CreatePersonalAccessTokenResponse.md +++ b/docs/tools/sdk/python/Reference/V2024/Models/CreatePersonalAccessTokenResponse.md @@ -23,6 +23,7 @@ Name | Type | Description | Notes **owner** | [**PatOwner**](pat-owner) | | [required] **created** | **datetime** | The date and time, down to the millisecond, when this personal access token was created. | [required] **access_token_validity_seconds** | **int** | Number of seconds an access token is valid when generated using this Personal Access Token. If no value is specified, the token will be created with the default value of 43200. | [required] +**expiration_date** | **datetime** | Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date. | [required] } ## Example @@ -40,7 +41,8 @@ owner=sailpoint.v2024.models.pat_owner.PatOwner( id = '2c9180a46faadee4016fb4e018c20639', name = 'Support', ), created='2017-07-11T18:45:37.098Z', -access_token_validity_seconds=36900 +access_token_validity_seconds=36900, +expiration_date='2018-01-11T18:45:37.098Z' ) ``` diff --git a/docs/tools/sdk/python/Reference/V2024/Models/GetPersonalAccessTokenResponse.md b/docs/tools/sdk/python/Reference/V2024/Models/GetPersonalAccessTokenResponse.md index 4d3f44c73..93fd52447 100644 --- a/docs/tools/sdk/python/Reference/V2024/Models/GetPersonalAccessTokenResponse.md +++ b/docs/tools/sdk/python/Reference/V2024/Models/GetPersonalAccessTokenResponse.md @@ -23,6 +23,8 @@ Name | Type | Description | Notes **created** | **datetime** | The date and time, down to the millisecond, when this personal access token was created. | [required] **last_used** | **datetime** | The date and time, down to the millisecond, when this personal access token was last used to generate an access token. This timestamp does not get updated on every PAT usage, but only once a day. This property can be useful for identifying which PATs are no longer actively used and can be removed. | [optional] **managed** | **bool** | If true, this token is managed by the SailPoint platform, and is not visible in the user interface. For example, Workflows will create managed personal access tokens for users who create workflows. | [optional] [default to False] +**access_token_validity_seconds** | **int** | Number of seconds an access token is valid when generated using this Personal Access Token. If no value is specified, the token will be created with the default value of 43200. | [optional] [default to 43200] +**expiration_date** | **datetime** | Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date. | [optional] } ## Example @@ -40,7 +42,9 @@ owner=sailpoint.v2024.models.pat_owner.PatOwner( name = 'Support', ), created='2017-07-11T18:45:37.098Z', last_used='2017-07-11T18:45:37.098Z', -managed=False +managed=False, +access_token_validity_seconds=36900, +expiration_date='2018-01-11T18:45:37.098Z' ) ``` diff --git a/docs/tools/sdk/python/Reference/V2025/Methods/PersonalAccessTokensApi.md b/docs/tools/sdk/python/Reference/V2025/Methods/PersonalAccessTokensApi.md index b90bd3805..73fdc68e6 100644 --- a/docs/tools/sdk/python/Reference/V2025/Methods/PersonalAccessTokensApi.md +++ b/docs/tools/sdk/python/Reference/V2025/Methods/PersonalAccessTokensApi.md @@ -76,7 +76,8 @@ with ApiClient(configuration) as api_client: create_personal_access_token_request = '''{ "scope" : [ "demo:personal-access-token-scope:first", "demo:personal-access-token-scope:second" ], "accessTokenValiditySeconds" : 36900, - "name" : "NodeJS Integration" + "name" : "NodeJS Integration", + "expirationDate" : "2018-01-11T18:45:37.098Z" }''' # CreatePersonalAccessTokenRequest | Name and scope of personal access token. try: diff --git a/docs/tools/sdk/python/Reference/V2025/Models/CreatePersonalAccessTokenRequest.md b/docs/tools/sdk/python/Reference/V2025/Models/CreatePersonalAccessTokenRequest.md index 7610c2dbb..a35753551 100644 --- a/docs/tools/sdk/python/Reference/V2025/Models/CreatePersonalAccessTokenRequest.md +++ b/docs/tools/sdk/python/Reference/V2025/Models/CreatePersonalAccessTokenRequest.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **name** | **str** | The name of the personal access token (PAT) to be created. Cannot be the same as another PAT owned by the user for whom this PAT is being created. | [required] **scope** | **[]str** | Scopes of the personal access token. If no scope is specified, the token will be created with the default scope \"sp:scopes:all\". This means the personal access token will have all the rights of the owner who created it. | [optional] **access_token_validity_seconds** | **int** | Number of seconds an access token is valid when generated using this Personal Access Token. If no value is specified, the token will be created with the default value of 43200. | [optional] +**expiration_date** | **datetime** | Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date. | [optional] } ## Example @@ -30,7 +31,8 @@ from sailpoint.v2025.models.create_personal_access_token_request import CreatePe create_personal_access_token_request = CreatePersonalAccessTokenRequest( name='NodeJS Integration', scope=[demo:personal-access-token-scope:first, demo:personal-access-token-scope:second], -access_token_validity_seconds=36900 +access_token_validity_seconds=36900, +expiration_date='2018-01-11T18:45:37.098Z' ) ``` diff --git a/docs/tools/sdk/python/Reference/V2025/Models/CreatePersonalAccessTokenResponse.md b/docs/tools/sdk/python/Reference/V2025/Models/CreatePersonalAccessTokenResponse.md index 273676c06..d47e1a94b 100644 --- a/docs/tools/sdk/python/Reference/V2025/Models/CreatePersonalAccessTokenResponse.md +++ b/docs/tools/sdk/python/Reference/V2025/Models/CreatePersonalAccessTokenResponse.md @@ -23,6 +23,7 @@ Name | Type | Description | Notes **owner** | [**PatOwner**](pat-owner) | | [required] **created** | **datetime** | The date and time, down to the millisecond, when this personal access token was created. | [required] **access_token_validity_seconds** | **int** | Number of seconds an access token is valid when generated using this Personal Access Token. If no value is specified, the token will be created with the default value of 43200. | [required] +**expiration_date** | **datetime** | Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date. | [required] } ## Example @@ -40,7 +41,8 @@ owner=sailpoint.v2025.models.pat_owner.PatOwner( id = '2c9180a46faadee4016fb4e018c20639', name = 'Support', ), created='2017-07-11T18:45:37.098Z', -access_token_validity_seconds=36900 +access_token_validity_seconds=36900, +expiration_date='2018-01-11T18:45:37.098Z' ) ``` diff --git a/docs/tools/sdk/python/Reference/V2025/Models/GetPersonalAccessTokenResponse.md b/docs/tools/sdk/python/Reference/V2025/Models/GetPersonalAccessTokenResponse.md index f9997e09a..983ad5728 100644 --- a/docs/tools/sdk/python/Reference/V2025/Models/GetPersonalAccessTokenResponse.md +++ b/docs/tools/sdk/python/Reference/V2025/Models/GetPersonalAccessTokenResponse.md @@ -23,6 +23,8 @@ Name | Type | Description | Notes **created** | **datetime** | The date and time, down to the millisecond, when this personal access token was created. | [required] **last_used** | **datetime** | The date and time, down to the millisecond, when this personal access token was last used to generate an access token. This timestamp does not get updated on every PAT usage, but only once a day. This property can be useful for identifying which PATs are no longer actively used and can be removed. | [optional] **managed** | **bool** | If true, this token is managed by the SailPoint platform, and is not visible in the user interface. For example, Workflows will create managed personal access tokens for users who create workflows. | [optional] [default to False] +**access_token_validity_seconds** | **int** | Number of seconds an access token is valid when generated using this Personal Access Token. If no value is specified, the token will be created with the default value of 43200. | [optional] [default to 43200] +**expiration_date** | **datetime** | Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date. | [optional] } ## Example @@ -40,7 +42,9 @@ owner=sailpoint.v2025.models.pat_owner.PatOwner( name = 'Support', ), created='2017-07-11T18:45:37.098Z', last_used='2017-07-11T18:45:37.098Z', -managed=False +managed=False, +access_token_validity_seconds=36900, +expiration_date='2018-01-11T18:45:37.098Z' ) ``` diff --git a/docs/tools/sdk/python/Reference/V3/Methods/PersonalAccessTokensApi.md b/docs/tools/sdk/python/Reference/V3/Methods/PersonalAccessTokensApi.md index 3fd8266ad..8d1a88589 100644 --- a/docs/tools/sdk/python/Reference/V3/Methods/PersonalAccessTokensApi.md +++ b/docs/tools/sdk/python/Reference/V3/Methods/PersonalAccessTokensApi.md @@ -76,7 +76,8 @@ with ApiClient(configuration) as api_client: create_personal_access_token_request = '''{ "scope" : [ "demo:personal-access-token-scope:first", "demo:personal-access-token-scope:second" ], "accessTokenValiditySeconds" : 36900, - "name" : "NodeJS Integration" + "name" : "NodeJS Integration", + "expirationDate" : "2018-01-11T18:45:37.098Z" }''' # CreatePersonalAccessTokenRequest | Name and scope of personal access token. try: diff --git a/docs/tools/sdk/python/Reference/V3/Models/CreatePersonalAccessTokenRequest.md b/docs/tools/sdk/python/Reference/V3/Models/CreatePersonalAccessTokenRequest.md index d490dd21a..ca4ed3a8d 100644 --- a/docs/tools/sdk/python/Reference/V3/Models/CreatePersonalAccessTokenRequest.md +++ b/docs/tools/sdk/python/Reference/V3/Models/CreatePersonalAccessTokenRequest.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **name** | **str** | The name of the personal access token (PAT) to be created. Cannot be the same as another PAT owned by the user for whom this PAT is being created. | [required] **scope** | **[]str** | Scopes of the personal access token. If no scope is specified, the token will be created with the default scope \"sp:scopes:all\". This means the personal access token will have all the rights of the owner who created it. | [optional] **access_token_validity_seconds** | **int** | Number of seconds an access token is valid when generated using this Personal Access Token. If no value is specified, the token will be created with the default value of 43200. | [optional] +**expiration_date** | **datetime** | Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date. | [optional] } ## Example @@ -30,7 +31,8 @@ from sailpoint.v3.models.create_personal_access_token_request import CreatePerso create_personal_access_token_request = CreatePersonalAccessTokenRequest( name='NodeJS Integration', scope=[demo:personal-access-token-scope:first, demo:personal-access-token-scope:second], -access_token_validity_seconds=36900 +access_token_validity_seconds=36900, +expiration_date='2018-01-11T18:45:37.098Z' ) ``` diff --git a/docs/tools/sdk/python/Reference/V3/Models/CreatePersonalAccessTokenResponse.md b/docs/tools/sdk/python/Reference/V3/Models/CreatePersonalAccessTokenResponse.md index e25672590..8aaf0b3b5 100644 --- a/docs/tools/sdk/python/Reference/V3/Models/CreatePersonalAccessTokenResponse.md +++ b/docs/tools/sdk/python/Reference/V3/Models/CreatePersonalAccessTokenResponse.md @@ -23,6 +23,7 @@ Name | Type | Description | Notes **owner** | [**PatOwner**](pat-owner) | | [required] **created** | **datetime** | The date and time, down to the millisecond, when this personal access token was created. | [required] **access_token_validity_seconds** | **int** | Number of seconds an access token is valid when generated using this Personal Access Token. If no value is specified, the token will be created with the default value of 43200. | [required] +**expiration_date** | **datetime** | Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date. | [required] } ## Example @@ -40,7 +41,8 @@ owner=sailpoint.v3.models.pat_owner.PatOwner( id = '2c9180a46faadee4016fb4e018c20639', name = 'Support', ), created='2017-07-11T18:45:37.098Z', -access_token_validity_seconds=36900 +access_token_validity_seconds=36900, +expiration_date='2018-01-11T18:45:37.098Z' ) ``` diff --git a/docs/tools/sdk/python/Reference/V3/Models/GetPersonalAccessTokenResponse.md b/docs/tools/sdk/python/Reference/V3/Models/GetPersonalAccessTokenResponse.md index 2cfb5f9fa..f1a067d42 100644 --- a/docs/tools/sdk/python/Reference/V3/Models/GetPersonalAccessTokenResponse.md +++ b/docs/tools/sdk/python/Reference/V3/Models/GetPersonalAccessTokenResponse.md @@ -23,6 +23,8 @@ Name | Type | Description | Notes **created** | **datetime** | The date and time, down to the millisecond, when this personal access token was created. | [required] **last_used** | **datetime** | The date and time, down to the millisecond, when this personal access token was last used to generate an access token. This timestamp does not get updated on every PAT usage, but only once a day. This property can be useful for identifying which PATs are no longer actively used and can be removed. | [optional] **managed** | **bool** | If true, this token is managed by the SailPoint platform, and is not visible in the user interface. For example, Workflows will create managed personal access tokens for users who create workflows. | [optional] [default to False] +**access_token_validity_seconds** | **int** | Number of seconds an access token is valid when generated using this Personal Access Token. If no value is specified, the token will be created with the default value of 43200. | [optional] [default to 43200] +**expiration_date** | **datetime** | Date and time, down to the millisecond, when this personal access token will expire. If not provided, the token will expire 6 months after its creation date. The value must be a valid date-time string between the current date and 6 months from the creation date. | [optional] } ## Example @@ -40,7 +42,9 @@ owner=sailpoint.v3.models.pat_owner.PatOwner( name = 'Support', ), created='2017-07-11T18:45:37.098Z', last_used='2017-07-11T18:45:37.098Z', -managed=False +managed=False, +access_token_validity_seconds=36900, +expiration_date='2018-01-11T18:45:37.098Z' ) ``` diff --git a/static/code-examples/beta/python_code_examples_overlay.yaml b/static/code-examples/beta/python_code_examples_overlay.yaml index f0c9ba18d..4cdccb214 100644 --- a/static/code-examples/beta/python_code_examples_overlay.yaml +++ b/static/code-examples/beta/python_code_examples_overlay.yaml @@ -10890,7 +10890,8 @@ create_personal_access_token_request = '''{ "scope" : [ "demo:personal-access-token-scope:first", "demo:personal-access-token-scope:second" ], "accessTokenValiditySeconds" : 36900, - "name" : "NodeJS Integration" + "name" : "NodeJS Integration", + "expirationDate" : "2018-01-11T18:45:37.098Z" }''' # CreatePersonalAccessTokenRequest | Name and scope of personal access token. try: # Create personal access token diff --git a/static/code-examples/v2024/python_code_examples_overlay.yaml b/static/code-examples/v2024/python_code_examples_overlay.yaml index 1042fd762..5587843dd 100644 --- a/static/code-examples/v2024/python_code_examples_overlay.yaml +++ b/static/code-examples/v2024/python_code_examples_overlay.yaml @@ -14226,7 +14226,8 @@ create_personal_access_token_request = '''{ "scope" : [ "demo:personal-access-token-scope:first", "demo:personal-access-token-scope:second" ], "accessTokenValiditySeconds" : 36900, - "name" : "NodeJS Integration" + "name" : "NodeJS Integration", + "expirationDate" : "2018-01-11T18:45:37.098Z" }''' # CreatePersonalAccessTokenRequest | Name and scope of personal access token. try: # Create personal access token diff --git a/static/code-examples/v2025/python_code_examples_overlay.yaml b/static/code-examples/v2025/python_code_examples_overlay.yaml index ee195db3a..2ddaf3b71 100644 --- a/static/code-examples/v2025/python_code_examples_overlay.yaml +++ b/static/code-examples/v2025/python_code_examples_overlay.yaml @@ -14562,7 +14562,8 @@ create_personal_access_token_request = '''{ "scope" : [ "demo:personal-access-token-scope:first", "demo:personal-access-token-scope:second" ], "accessTokenValiditySeconds" : 36900, - "name" : "NodeJS Integration" + "name" : "NodeJS Integration", + "expirationDate" : "2018-01-11T18:45:37.098Z" }''' # CreatePersonalAccessTokenRequest | Name and scope of personal access token. try: # Create personal access token diff --git a/static/code-examples/v3/python_code_examples_overlay.yaml b/static/code-examples/v3/python_code_examples_overlay.yaml index 18b60bdac..de4604930 100644 --- a/static/code-examples/v3/python_code_examples_overlay.yaml +++ b/static/code-examples/v3/python_code_examples_overlay.yaml @@ -6551,7 +6551,8 @@ create_personal_access_token_request = '''{ "scope" : [ "demo:personal-access-token-scope:first", "demo:personal-access-token-scope:second" ], "accessTokenValiditySeconds" : 36900, - "name" : "NodeJS Integration" + "name" : "NodeJS Integration", + "expirationDate" : "2018-01-11T18:45:37.098Z" }''' # CreatePersonalAccessTokenRequest | Name and scope of personal access token. try: # Create personal access token