Lab 1.7 - Onboard a New API

Organizations change. With this change, new APIs are introduced requiring modifications to the API Gateway. In this section you will learn how to add additional paths.

Task 1 - Verify no access to API

  1. From Postman, select the request PATCH-Change User Password-JWT

image63

  1. Select the Authorization tab
  2. Select the previously created User1 token from the Available Tokens dropdown

image33

  1. The Token field is now populated

image34

  1. Click Send
  2. You receive a 403 Forbidden response status code because the the new API has not been published at the Gateway

image39

Task 2 - Add the new API path

  1. From the browser, navigate to API Protection >> Profile. Click Profile to modify the previously created API protection Profile (not the + Plus symbol)

image48

  1. Click API-Protection

image64

  1. Click Paths

image65

  1. Click Create

image66

  1. The URI /aduser/password
  2. Select the Method PATCH
  3. Click Add

image67

  1. Click Save

image68

Task 3 - Test Access to the new path

  1. From Postman, select the request PATCH-Change User Password-JWT

image45

  1. Select the Authorization tab
  2. Select the previously created User1 token from the Available Tokens dropdown

image33

  1. The Token field is now populated

image34

  1. Click Send
  2. You receive a 200 OK that the endpoint is now published.

image102