ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 41 - NSE8_812 discussion

Report
Export

A customer wants to use the FortiAuthenticator REST API to retrieve an SSO group called SalesGroup.

The following API call is being made with the 'curl' utility:

Which two statements correctly describe the expected behavior of the FortiAuthenticator REST API?

(Choose two.)

A.
Only users with the "Full permission" role can access the REST API
Answers
A.
Only users with the "Full permission" role can access the REST API
B.
This API call will fail because it requires that API version 2
Answers
B.
This API call will fail because it requires that API version 2
C.
If the REST API web service access key is lost, it cannot be retrieved and must be changed.
Answers
C.
If the REST API web service access key is lost, it cannot be retrieved and must be changed.
D.
The syntax is incorrect because the API calls needs the get method.
Answers
D.
The syntax is incorrect because the API calls needs the get method.
Suggested answer: B, D

Explanation:

To retrieve an SSO group called SalesGroup using the FortiAuthenticator REST API, the following issues need to be fixed in the API call:

The API version should be v2, not v1, as SSO groups are only supported in version 2 of the REST API.

The HTTP method should be GET, not POST, as GET is used to retrieve information from the server, while POST is used to create or update information on the server. Therefore, a correct API call would look like this: curl -X GET -H "Authorization: Bearer <token>"

https://fac.example.com/api/v2/sso/groups/SalesGroup Reference:

https://docs.fortinet.com/document/fortiauthenticator/6.4.1/rest-api-solutionguide/ 927310/introduction https://docs.fortinet.com/document/fortiauthenticator/6.4.1/rest-apisolution-guide/927311/sso-groups

asked 18/09/2024
Giulia Maggio
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first