add method and model docs for powershell and python v2025

This commit is contained in:
darrell-thobe-sp
2025-04-01 09:23:12 -04:00
parent c12ffb7efc
commit 5d8f458a33
2414 changed files with 191212 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
---
id: v2025-get-personal-access-token-response
title: GetPersonalAccessTokenResponse
pagination_label: GetPersonalAccessTokenResponse
sidebar_label: GetPersonalAccessTokenResponse
sidebar_class_name: pythonsdk
keywords: ['python', 'Python', 'sdk', 'GetPersonalAccessTokenResponse', 'V2025GetPersonalAccessTokenResponse']
slug: /tools/sdk/python/v2025/models/get-personal-access-token-response
tags: ['SDK', 'Software Development Kit', 'GetPersonalAccessTokenResponse', 'V2025GetPersonalAccessTokenResponse']
---
# GetPersonalAccessTokenResponse
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | The ID of the personal access token (to be used as the username for Basic Auth). | [required]
**name** | **str** | The name of the personal access token. Cannot be the same as other personal access tokens owned by a user. | [required]
**scope** | **[]str** | Scopes of the personal access token. | [required]
**owner** | [**PatOwner**](pat-owner) | | [required]
**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]
}
## Example
```python
from sailpoint.v2025.models.get_personal_access_token_response import GetPersonalAccessTokenResponse
get_personal_access_token_response = GetPersonalAccessTokenResponse(
id='86f1dc6fe8f54414950454cbb11278fa',
name='NodeJS Integration',
scope=[demo:personal-access-token-scope:first, demo:personal-access-token-scope:second],
owner=sailpoint.v2025.models.pat_owner.PatOwner(
type = 'IDENTITY',
id = '2c9180a46faadee4016fb4e018c20639',
name = 'Support', ),
created='2017-07-11T18:45:37.098Z',
last_used='2017-07-11T18:45:37.098Z',
managed=False
)
```
[[Back to top]](#)