Xsolla-logo

Delete webhook for event

delete/projects/{project_id}/events/{event_type}/webhooks/{webhook_id}

Deletes a webhook with the specified ID.

SecurityServer
Request
path Parameters
project_id
required
string <uuid>

Login project ID from Publisher Account.

event_type
required
string

Event type. Can have the following values:

  • registration is used for user registration by login and password (JWT and OAuth 2.0), social authentication (JWT and OAuth 2.0), silent authentication (JWT and OAuth 2.0), authentication by a phone number (JWT and OAuth 2.0), and registration of a new user from the server as well.
  • authorization is used for user authorization by login and password (JWT and OAuth 2.0), social authentication (JWT and OAuth 2.0), silent authentication (JWT and OAuth 2.0), and authentication by a phone number (JWT and OAuth 2.0).
  • email_confirmation is used for user email address confirmation.
  • link_social_account is used for linking user’s social account.
  • new_verified_user is used for user registration when they pass all the necessary verification steps. These verification steps can be email address confirmation, age confirmation via the okname service, additional data collection, etc. You should configure these steps by yourself.
Enum: "registration" "authorization" "email_confirmation" "link_social_account" "new_verified_user"
webhook_id
required
integer

ID of the webhook that you want to delete.

Responses
204

No Content

401

Unauthorized

404

Not Found

429

Too Many Requests

Request samples
curl -i -X DELETE \
  'https://login.xsolla.com/api/projects/{project_id}/events/{event_type}/webhooks/{webhook_id}' \
  -H 'X-SERVER-AUTHORIZATION: YOUR_API_KEY_HERE'
Response samples
{
  • "error": {
    }
}