Update python SDK docs: 16303892545

This commit is contained in:
developer-relations-sp
2025-07-15 20:43:46 +00:00
parent ca8fe2cde7
commit 333c25da10
20 changed files with 60 additions and 20 deletions

View File

@@ -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'
)
```