POST /featureToggles

Returns feature toggles

application/json

Body Required

User name (email) of the user to authorize

string string

Minimum length is 4, maximum length is 30. Format should match the following pattern: ^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$.

Responses

  • default text/plain

    Forbidden

    Minimum length is 3, maximum length is 30. Format should match the following pattern: ^[A-Za-z0-9.!\s]{3,30}$.

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • enableBetaFeatures boolean

      Can the user access beta features?

    • userGroup string

      What is the user's group?

      Minimum length is 2, maximum length is 24. Format should match the following pattern: ^[A-Za-z_-]{2,24}$.

  • 401 text/plain

    Unauthorized

    Minimum length is 3, maximum length is 30. Format should match the following pattern: ^[A-Za-z0-9.!\s]{3,30}$.

  • 403 text/plain

    Forbidden

    Minimum length is 3, maximum length is 30. Format should match the following pattern: ^[A-Za-z0-9.!\s]{3,30}$.

  • 404 text/plain

    Not found

    Minimum length is 3, maximum length is 30. Format should match the following pattern: ^[A-Za-z0-9.!\s]{3,30}$.

  • 406 text/plain

    Not acceptable

    Minimum length is 3, maximum length is 30. Format should match the following pattern: ^[A-Za-z0-9.!\s]{3,30}$.

  • 429 text/plain

    Too many requests

    Minimum length is 3, maximum length is 30. Format should match the following pattern: ^[A-Za-z0-9.!\s]{3,30}$.

POST /featureToggles
curl \
 --request POST 'https://RANDOM.execute-api.REGION.amazonaws.com/shared/featureToggles' \
 --header "Content-Type: application/json" \
 --data '"string"'
Request examples
string
Response examples (default)
Forbidden
Response examples (200)
{
  "enableBetaFeatures": true,
  "userGroup": "string"
}
Response examples (401)
Unauthorized
Response examples (403)
Forbidden
Response examples (404)
Not found
Response examples (406)
Not acceptable
Response examples (429)
Too many requests