Cucumber Ltd / cucumber-pro

Apifeatures/authentication/api.md

Release Dasher II (patch 1) (2018-12-13)

Romain Gérard

Currently viewing

Cucumber Pro API

Cucumber Pro provides a HTTP API

Create accounts

An account can be created by issuing a POST request:

# The ADMIN_PASSWORD can be set in the Replicated Console when you install/configure Cucumber Pro
ADMIN_PASSWORD=...; \
CUCUMBER_PRO_BASEURL=...; \
curl --verbose \
  --user "admin:${ADMIN_PASSWORD}" \
  --header "Content-Type: application/json" \
  --request POST \
  --data '{"email":"[email protected]"}' \
  ${CUCUMBER_PRO_BASEURL}/api/accounts

The response should contain the id of the invitation:

{"accountInvitationUid":"1ccbf0f1-1886-4dbe-84af-33e16bd7aadc"}