Skip to main content
WEBHOOK
rbac_role.deleted.1
{
  "action": "rbac_role.deleted",
  "actor": {
    "id": "01FCNDV6P870EA6S7TK1DSYDG0",
    "metadata": {
      "user_base_role_slug": "admin",
      "user_custom_role_slugs": "engineering,security"
    },
    "name": "John Doe",
    "type": "user"
  },
  "context": {
    "location": "1.2.3.4",
    "user_agent": "Chrome/91.0.4472.114"
  },
  "occurred_at": "2021-08-17T13:28:57.801578Z",
  "targets": [
    {
      "id": "01FCNDV6P870EA6S7TK1DSYDG0",
      "name": "Engineering",
      "type": "rbac_role"
    }
  ],
  "version": 1
}

Authorizations

Authorization
string
header
required

API key from your incident.io dashboard (Settings → API keys)

Response

200 - application/json

OK response.

action
string
required

The type of log entry that this is

Example:

"rbac_role.deleted"

actor
object
required
Example:
{
  "id": "01FCNDV6P870EA6S7TK1DSYDG0",
  "metadata": {
    "user_base_role_slug": "admin",
    "user_custom_role_slugs": "engineering,security"
  },
  "name": "John Doe",
  "type": "user"
}
context
object
required
Example:
{
  "location": "1.2.3.4",
  "user_agent": "Chrome/91.0.4472.114"
}
occurred_at
string<date-time>
required

When the entry occurred

Example:

"2021-08-17T13:28:57.801578Z"

targets
object[]
required

The custom field that was created

Example:
[
  {
    "id": "01FCNDV6P870EA6S7TK1DSYDG0",
    "name": "Engineering",
    "type": "rbac_role"
  }
]
version
integer<int64>
required

Which version the event is

Example:

1