Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 810 Bytes

delete-response-codes.md

File metadata and controls

27 lines (15 loc) · 810 Bytes

DeleteResponseCodes

Category

ARM Error

Applies to

ARM OpenAPI (swagger) specs

Related ARM Guideline Code

  • RPC-Delete-V1-01

Output Message

Synchronous delete operations must have 200, 204, and default responses. They must not have any other responses. Long-running (LRO) delete operations must have 202, 204, and default responses. They must not have any other responses.

Description

Synchronous delete operations must have 200, 204, and default responses and long-running (LRO) delete operations must have 202, 204, and default responses. They must not have any other responses.

How to fix the violation

For synchronous delete operations, specify responses with 200 & 204 return codes. For long-running (LRO) delete operations, specify responses with 202 and 204 return codes.