Personal Access Tokens

Admin: list every active personal access token in the org

Changed on

Lists 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.

get/personal-access-tokens/admin

Request

  • Base URL
    https://app.pipeshub.com/api/v1
  • URL
    https://app.pipeshub.com/api/v1/personal-access-tokens/admin
  • Auth
    HTTP bearer

Query parameters

pageinteger

Page number (defaults to 1 when omitted or empty)

limitinteger

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

      added the optional property ////// to the response with the status