Get all auth tokens
Returns a page of authentication token details out of the list of all tokens. Only metadata for the tokens is returned; the token secrets themselves are not available. Pages are numbered starting at 1 and a page can range from 1 to 100 tokens. Only users with 'Manage Security' permission can use this function.
Request
GET https://{hostname}:{port}
/cli/teamsecurity/tokens?{parameters}
Accept: {contentType}
Parameter | Type | Required | Description |
---|---|---|---|
page | int | true | Page number starting at 1 |
pageSize | int | true | Page size starting at 1 and to at most 100 |
Parameter | Type | Required | Description |
---|---|---|---|
Accept |
|
true |
Example
curl -k -u jsmith:passwd
"https://deployserver.example.com:8443/cli/teamsecurity/tokens?page=1&pageSize=30"
Related CLI command: getAuthTokens.