Skip to content

Commit

Permalink
Automated commit 'Merge pull request #1842 from sailpoint/sudati/ISCA…
Browse files Browse the repository at this point in the history
…NT-7862

ISCANT-7862: Updating Create PAT endpoint description' by github action: 11449400210
  • Loading branch information
tyler-mairose-sp committed Oct 21, 2024
1 parent ec4f5f9 commit 2843ef1
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
11 changes: 11 additions & 0 deletions idn/beta/schemas/CreatePersonalAccessTokenRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,16 @@ properties:
default: "sp:scopes:all"
description: 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.
example: [ "demo:personal-access-token-scope:first", "demo:personal-access-token-scope:second" ]
accessTokenValiditySeconds:
type: integer
format: int32
minimum: 15
maximum: 43200
items:
type: integer
format: int32
default: 43200
description: 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.
example: 36900
required:
- name
10 changes: 10 additions & 0 deletions idn/beta/schemas/CreatePersonalAccessTokenResponse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,20 @@ properties:
format: 'date-time'
description: The date and time, down to the millisecond, when this personal access token was created.
example: '2017-07-11T18:45:37.098Z'
accessTokenValiditySeconds:
type: integer
format: int32
items:
type: integer
format: int32
default: 43200
description: 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.
example: 36900
required:
- id
- secret
- scope
- name
- owner
- created
- accessTokenValiditySeconds
11 changes: 11 additions & 0 deletions idn/v3/schemas/CreatePersonalAccessTokenRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,16 @@ properties:
default: "sp:scopes:all"
description: 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.
example: [ "demo:personal-access-token-scope:first", "demo:personal-access-token-scope:second" ]
accessTokenValiditySeconds:
type: integer
format: int32
minimum: 15
maximum: 43200
items:
type: integer
format: int32
default: 43200
description: 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.
example: 36900
required:
- name
10 changes: 10 additions & 0 deletions idn/v3/schemas/CreatePersonalAccessTokenResponse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,20 @@ properties:
format: 'date-time'
description: The date and time, down to the millisecond, when this personal access token was created.
example: '2017-07-11T18:45:37.098Z'
accessTokenValiditySeconds:
type: integer
format: int32
items:
type: integer
format: int32
default: 43200
description: 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.
example: 36900
required:
- id
- secret
- scope
- name
- owner
- created
- accessTokenValiditySeconds

0 comments on commit 2843ef1

Please sign in to comment.