AdminUser

Grant Discord Quota

Changed on
post/api/user/discord_grant

Request

  • Base URL
    https://api.unorouter.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization and API key in header New-Api-User
    • or API key in header New-Api-User and API key in cookie session

Request body

GrantDiscordQuotaRequest required

GrantDiscordQuotaRequest schema

check_ip_unique, boolean
discord_id, string required
dry_run, boolean
expected_user_id, integer
granted_by, string
quota, integer required
reason, string
source, string

Response

OK

ResponseDtoGrantDiscordQuotaData required

Response_dto.GrantDiscordQuotaData schema

data, GrantDiscordQuotaData required
message, string required
success, boolean required

Changes

    • info

      added the new optional request property dry_run

    • info

      added the new optional request property expected_user_id

    • info

      added the optional property data/user_mismatch to the response with the status (media type: application/json)

    1 more change in this revision