Skip to main content

Users

Manage user accounts and their credential bundles.

📄️Update a user

Updates a user. Only the fields present in the request body are changed; a field sent as null is treated as omitted. Allowed for an admin or the user themselves; only an admin may change userRole, active, commonName, or awsRoles (a non-admin may send them unchanged). Group memberships are updated when fullName, email, or userRole changes. Changing commonName or fullName does not issue a new certificate; use POST /tap/api/v1/users/{userId}/certificate. A non-empty bundlePath in the response is replaced with a presigned download link valid for up to 8 hours.

📄️Create a user

Creates a user, issues the user's certificate, and builds the certificate bundle. Requires the admin role. The default AWS roles are assigned when awsRoles is omitted or empty. When the sendWelcomeEmail setting is on and email integration is enabled, the user is sent a welcome email; it includes a download link valid for up to 8 hours when the showBundleLinks setting is on, and attaches the bundle when the sendWelcomeEmailWithAttachment setting is on. If the download link cannot be generated, the user is still created but no email is sent, and POST /tap/api/v1/users/{userId}/resend can send it later. bundlePath in the response is a presigned download link valid for up to 8 hours.

📄️Update a user (v2)

Updates a user. Only the fields present in the request body are changed; a field sent as null is treated as omitted. Allowed for an admin or the user themselves; only an admin may change userRole, active, commonName, or awsRoles (a non-admin may send them unchanged). Group memberships are updated when fullName, email, or userRole changes. Changing commonName or fullName does not issue a new certificate; use POST /tap/api/v2/users/{userId}/certificate. bundlePath in the response is the stored location of the certificate bundle, not a download link.

📄️List users (v2)

Returns a summary of each user. The complete user is available from GET /tap/api/v2/users/{userId}. Requires the admin role; a caller with the user role receives an empty list. Users with the super_admin role are included only for a super_admin caller. A single page is returned when pageSize, page, nextToken, or q is not blank, or when active or includeCounts is true; otherwise every user is returned, sorted by fullName. A page is sorted by fullName, ignoring case and surrounding whitespace, then by id.

📄️Create a user (v2)

Creates a user, issues the user's certificate, and builds the certificate bundle. Requires the admin role. The default AWS roles are assigned when awsRoles is omitted or empty. When the sendWelcomeEmail setting is on and email integration is enabled, the user is sent a welcome email; it includes a download link valid for up to 8 hours when the showBundleLinks setting is on, and attaches the bundle when the sendWelcomeEmailWithAttachment setting is on. If the download link cannot be generated, the user is still created but no email is sent, and POST /tap/api/v2/users/{userId}/resend can send it later. bundlePath in the response is the stored location of the certificate bundle, not a download link.