Creating authorization for DX API tests

Gain access to V2 DX API testing by creating authorization credentials. 

V2 DX API tests require authorization. You can access individual endpoints, but to generate a sample response to an endpoint call, you need an OAuth 2.0 client registration data instance.

  1. In the navigation pane of Dev Studio, click Records.
  2. Expand the Security category and then click OAuth 2.0 Client Registration.
  3. In the header of the list of client registration instances, click Create.
  4. Complete the form, and then click Create and open.
    The Client Name field identifies the record.
  5. Configure the new record:
    1. In the Supported grant types section, clear the Client credentials check box, and then select the Password credentials check box.
    2. In the Identity mapping field, press the Down arrow key, and then click the default mapping entry that the prompt displays.
    3. Select the Enable refresh token check box.
    4. In the Client Credentials section, click View & download.
    5. In the View & download modal dialog box, click Download credentials.
    6. Save the credentials on your local system.
      After you save the record, the option to download the credentials is disabled.
  6. In the header of the record, click Save.
Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.