delete.json 575 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "operationId": "deleteUser",
  3. "summary": "Delete a User",
  4. "tags": ["Users"],
  5. "security": [
  6. {
  7. "BearerAuth": ["users"]
  8. }
  9. ],
  10. "parameters": [
  11. {
  12. "in": "path",
  13. "name": "userID",
  14. "schema": {
  15. "type": "integer",
  16. "minimum": 1
  17. },
  18. "required": true,
  19. "description": "User ID",
  20. "example": 2
  21. }
  22. ],
  23. "responses": {
  24. "200": {
  25. "description": "200 response",
  26. "content": {
  27. "application/json": {
  28. "examples": {
  29. "default": {
  30. "value": true
  31. }
  32. },
  33. "schema": {
  34. "type": "boolean"
  35. }
  36. }
  37. }
  38. }
  39. }
  40. }