Skip to main content

Create a user (v1)

POST 

/tap/api/v1/users

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Deprecated; use POST /tap/api/v3/users. Differs from v3 in awsRoles and bundlePath: the request accepts AWS role objects, of which only id is read, as well as AWS role ids; the response lists AWS role objects; and a non-empty bundlePath in the response is replaced with a presigned download link valid for 12 hours by default, or left as the stored location when the link cannot be generated. Creates a user, issues the user's certificate, and builds the certificate bundle. Requires the admin role. userRole defaults to user when omitted or null. Each AWS role id in awsRoles must belong to an existing AWS 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 12 hours by default 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/v3/users/{userId}/resend can send it later.

Request​

Responses​

The created user.