Cucumber Ltd / jam

Apifeatures/authentication/api.md

[#874] Remove feature toggle on release changes \o/

Matt Wynne

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":"someone@example.com"}' \
  ${CUCUMBER_PRO_BASEURL}/api/accounts

The response should contain the id of the invitation:

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