Admin: list every active personal access token in the org
Changed onLists every active personal access token across every member of the org, paginated, with each token's owner attached (including owners who've since been deleted from the org — see ownerDeleted on AdminPatListItem). For incident response: a departed employee or a compromised laptop, where only the token's own creator could otherwise see or revoke it.
Requires org-admin privileges (userAdminCheck): a non-admin caller gets 403 (ForbiddenError, message "You need admin access to do this. Ask an admin in your organisation."). The admin check runs before the query is validated, so a non-admin gets 403 even for an invalid page or limit. Query parameters other than page and limit are ignored. A page past the end answers 200 with an empty data array.
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/personal-access-tokens/admin
- AuthHTTP bearer
Query parameters
Page number (defaults to 1 when omitted or empty)
Items per page (defaults to 100 when omitted or empty; max 100)
Response
Every active personal access token in the org
Changes
- info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- info
added the optional property
//////to the response with the status
- info