SCA-C01 practice question 1 of 25

When working with the Tableau Server REST API, which of the following HTTP verb must be used to request this particular action: "Update existing resources, such as updating a user’s password, updating permissions, or changing a workbook owner"

Full set: 186 questions
Answer options
A: WRITE
B: POST
C: PUT Correct answer
D: PLACE
Correct Answer:
C. PUT
Explanation

The Tableau Server REST API adheres to the principles of Representational State Transfer (REST). In this architectural style, the HTTP PUT method is used to update a known, existing resource at a specific URI (Uniform Resource Identifier). The question explicitly asks for the method to "Update existing resources," such as a user or a workbook. The PUT method is idempotent, meaning multiple identical requests will have the same effect as a single one, which is a key characteristic for update operations.

Why Incorrect

A. WRITE: WRITE is not a standard HTTP verb used in the context of REST APIs for resource manipulation.
B. POST: POST is primarily used to create a new subordinate resource. It is not typically used for full replacement or updates of existing resources.
D. PLACE: PLACE is not a standard or recognized HTTP verb for RESTful services.

References

1. Tableau, Inc. (2023). Tableau Server REST API Help - API Reference. "Methods". The documentation consistently shows the PUT verb for update operations. For example, "Update User" is PUT /api/api-version/sites/site-id/users/user-id.

2. Tableau, Inc. (2023). Tableau Server REST API Help - API Reference. "Update Workbook". This method documentation specifies PUT /api/api-version/sites/site-id/workbooks/workbook-id to update a workbook.

Scroll to Top