Skip to main content

events_events_create

POST 

/api/v3//events/events/

Event Read-Only Viewset

Request

Body

required

    user
    action EventActions (string)required

    Possible values: [login, login_failed, logout, user_write, suspicious_request, password_set, secret_view, secret_rotate, invitation_used, authorize_application, source_linked, impersonation_started, impersonation_ended, flow_execution, policy_execution, policy_exception, property_mapping_exception, system_task_execution, system_task_exception, system_exception, configuration_error, model_created, model_updated, model_deleted, email_sent, update_available, custom_]

    app stringrequired

    Possible values: non-empty

    context
    client_ip stringnullable

    Possible values: non-empty

    expires date-time
    brand

Responses

Schema

    pk uuidrequired
    user
    action EventActions (string)required

    Possible values: [login, login_failed, logout, user_write, suspicious_request, password_set, secret_view, secret_rotate, invitation_used, authorize_application, source_linked, impersonation_started, impersonation_ended, flow_execution, policy_execution, policy_exception, property_mapping_exception, system_task_execution, system_task_exception, system_exception, configuration_error, model_created, model_updated, model_deleted, email_sent, update_available, custom_]

    app stringrequired
    context
    client_ip stringnullable
    created date-timerequired
    expires date-time
    brand
curl -L -X POST '/api/v3/events/events/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"user": {},
"action": "login",
"app": "string",
"context": {},
"client_ip": "string",
"expires": "2024-09-27T14:26:17.887Z",
"brand": {}
}'
Request Collapse all
Base URL
/api/v3
Auth
Body required
{
  "user": {},
  "action": "login",
  "app": "string",
  "context": {},
  "client_ip": "string",
  "expires": "2024-09-27T14:26:17.887Z",
  "brand": {}
}