Create an API access policy and map an authentication profile to restrict the authentication type for a REST API. For example, you can create an API access policy that allows only ID token authentication for a REST API.

Before you begin

Procedure

  1. Navigate to All > System Web Services > REST API Access Policies.
  2. Click New.
  3. On the form, fill in the fields.
    API access policy fields
    Note: To understand more about the API access policy prioritization, see API access policy prioritization.
  4. Double-click Insert a new row.
  5. Select an inbound authentication profile from the list and click the save icon save icon.
    For example, you can add Basic Auth, ID Token, Certificate based Auth, OAuth or WSSE Auth.
    1. To add one or more inbound authentication profiles, click New to create a new profile.
    2. Choose What Kind of authentication profiles?.
      • Create standard http authentication profiles
      • Create WSSE authentication profiles
      Authentication profile
    3. After creating the authentication profile, save the record.
  6. Click Submit to submit the REST API access policy.