admin-users
admin

Set a user's Discord identity

Changed on
post/admin/users/{id}/set-discord

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/admin/users/{id}/set-discord
  • Auth: API key in cookie evelogin

Request body

discord_user_idstring nullable

Response

OK

character_idinteger required
discord_user_idstring nullable required

Changes

    • breaking

      added the pattern ^[0-9]{15,22}$ to the request property

    • breaking

      the request property type changed from no type to string null

    • info

      the request property became nullable

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      added required request body