nerdexam
Cisco

350-901 · Question #99

Refer to the exhibit. Which API call does an engineer use to delete the FQDN object?

The correct answer is C. DELETE /api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/object/fqdns/005056BB-0B24-0ED3-0000-858993545263. The Cisco FMC REST API follows standard REST URL conventions where a specific resource is addressed by appending its UUID directly as the final path segment.

Understanding and Using APIs

Question

Refer to the exhibit. Which API call does an engineer use to delete the FQDN object?

Options

  • ADELETE /api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/id=005056BB-0B24-0ED3-0000-858993545263/object/fqdns
  • BDELETE /api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/object/fqdns/id=005056BB-0B24-0ED3-0000-858993545263
  • CDELETE /api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/object/fqdns/005056BB-0B24-0ED3-0000-858993545263
  • DDELETE /api/fmc_confio/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f

How the community answered

(29 responses)
  • A
    10% (3)
  • B
    3% (1)
  • C
    79% (23)
  • D
    7% (2)

Why each option

The Cisco FMC REST API follows standard REST URL conventions where a specific resource is addressed by appending its UUID directly as the final path segment.

ADELETE /api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/id=005056BB-0B24-0ED3-0000-858993545263/object/fqdns

The UUID is incorrectly placed before the resource collection name 'fqdns' rather than after it, reversing the required path hierarchy, and 'id=' is not valid REST path syntax.

BDELETE /api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/object/fqdns/id=005056BB-0B24-0ED3-0000-858993545263

Although the path order is closer to correct, the 'id=' prefix is not valid REST path parameter syntax - UUIDs must appear as bare path segments, not as key=value pairs.

CDELETE /api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/object/fqdns/005056BB-0B24-0ED3-0000-858993545263Correct

The correct REST API pattern for deleting a specific object is DELETE .../object/fqdns/{uuid}, where the object UUID is the final path segment with no key-value prefix. This matches the FMC REST API specification for targeting a named resource by its unique identifier.

DDELETE /api/fmc_confio/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f

This URL omits both the object collection type 'fqdns' and the specific object UUID entirely, making it an incomplete domain-level endpoint that cannot target a specific FQDN object for deletion.

Concept tested: Cisco FMC REST API DELETE request URL structure

Source: https://developer.cisco.com/docs/firepower-management-center-nio/api-quick-start/

Topics

#REST API#API Endpoints#Cisco FMC#Network Automation

Community Discussion

No community discussion yet for this question.

Full 350-901 Practice