Sha256: f9123f78ec1062e63c44839535572816db70260414eb4be6b1056925d09ae2ac

Contents?: true

Size: 1.53 KB

Versions: 2

Compression:

Stored size: 1.53 KB

Contents

{
  "parameters": [

  ],
  "response_fields": [

  ],
  "requests": [
    {
      "request_headers": {
        "Content-Type": "application/x-www-form-urlencoded"
      },
      "request_query_parameters": {
      },
      "response_headers": {
        "X-Frame-Options": "SAMEORIGIN",
        "X-XSS-Protection": "1; mode=block",
        "X-Content-Type-Options": "nosniff",
        "X-Download-Options": "noopen",
        "X-Permitted-Cross-Domain-Policies": "none",
        "Referrer-Policy": "strict-origin-when-cross-origin",
        "X-Requested-With": "",
        "Vary": "X-Requested-With, X-Workarea-Segments",
        "Last-Modified": "Wed, 19 Aug 2020 13:53:13 GMT",
        "Cache-Control": "no-cache, no-store, must-revalidate",
        "X-Request-Id": "13cf1421-a97f-492b-b361-06d985a3bd4f",
        "X-Runtime": "0.025007",
        "X-Workarea-Segments": "",
        "Expires": "0"
      },
      "request_method": "DELETE",
      "request_path": "/api/admin/discounts/5f3d2ec90218236de151fc27",
      "request_body": null,
      "request_content_type": "application/x-www-form-urlencoded",
      "response_status": 204,
      "response_status_text": "No Content",
      "response_body": null,
      "response_content_type": null,
      "curl": "curl \"https://www.example.com/api/admin/discounts/5f3d2ec90218236de151fc27\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
    }
  ],
  "resource": "Discounts",
  "description": "Removing a discount",
  "route": "/api/admin/discounts/:id",
  "http_method": "DELETE"
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-api-4.5.6 doc/api/admin/discounts/removing_a_discount.json
workarea-api-4.5.5 doc/api/admin/discounts/removing_a_discount.json