Faults

Update a fault

Updates a fault's attributes.

patch/projects/{project_id}/faults/{fault_id}

Request

Path parameters

project_idstring required
Example:Xk9mZp

Project ID

fault_idstring required
Example:12345

Fault ID

Request body

resolvedboolean
ignoredboolean
assignee_idstring nullable

ID of a user on the project. Null unassigns.

tagsstring[] nullable
resolve_on_deployboolean

Set to true to resolve this fault when the project's next deploy is recorded, in any environment. After that deploy, it reads false again.

It has no effect if the fault is resolved or ignored once the rest of this update is applied. If the fault is resolved or ignored before the next deploy, the pending resolution is cancelled. Set it to false to cancel it yourself.

Example request

{
  "assignee_id": "Xk9mZp"
}

Response

Success

Example response

{
  "data": {
    "id": "12345",
    "project_id": "Xk9mZp",
    "klass": "NoMethodError",
    "message": "undefined method 'foo' for nil:NilClass",
    "component": "UsersController",
    "action": "show",
    "environment": "production",
    "notices_count": 214,
    "comments_count": 2,
    "tags": [
      "critical",
      "backend"
    ],
    "assignee_id": "Uq7rT2",
    "assignee": {
      "id": "Uz4wKm",
      "name": "Jane Smith",
      "email": "jane@example.com"
    },
    "last_notice_deploy": {
      "id": "Dp2yNk",
      "project_id": "Xk9mZp",
      "environment": "production",
      "revision": "a1b2c3d4",
      "repository": "acme/app",
      "local_username": "jane"
    },
    "tickets": [
      {
        "url": "https://github.com/acme/shop/issues/482",
        "integration_id": "Ch9wLp"
      }
    ],
    "notices_count_in_range": 37,
    "links": {
      "web": "https://app.honeybadger.io/projects/Xk9mZp"
    }
  },
  "meta": {
    "request_id": "6f1c2b0e-8d4a-4f6e-9b2a-3c5d7e9f1a2b"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.