(Outgoing) Disable profile

Usage

You can disable a profile from the server with the websocket.

Once disabled, the player cannot connect to his profile on the application. You can use this method if the player does not have a phone in their inventory. Don't forget to reactivate the phone with the enable method.

WebSocket event

You need to emit an event with the following name and data:

Event name: profiles@disable

Object

KeyTypeExtraDescription
custom_idstring
required
unique
Unique identifier from your services (1-64 characters)

Important

Response object must respect every type rule. If any structure isn't respected, your request will be rejected for "bad-request".

Example

{
  "custom_id": "1234"
}

Response

Unfortunately, there is no response in this version.

What's next?

Powered by Doctave