Exam PCCSE All QuestionsBrowse all questions from this exam
Question 40

DRAG DROP -

An administrator needs to write a script that automatically deactivates access keys that have not been used for 30 days.

In which order should the API calls be used to accomplish this task?

(Drag the steps into the correct order from the first step to the last.)

Select and Place:

    Correct Answer:

Discussion
Jihe

The correct order seems to be: POST > GET > PATCH 1) POST as shown in Step 1 (doc below) Authenticate to obtain a JWT: --request POST \ 'https://api.prismacloud.io/login' 2) GET (access keys) 3) PATCH (Update or Patch access_keys/status https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-admin/get-started-with-prisma-cloud/access-the-prisma-cloud-api