AdminUser
Grant Discord Quota
Changed onpost/api/user/discord_grant
Request
- Base URLhttps://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
Grant Discord Quota Request 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
Response Dto Grant Discord Quota Data required
Response_dto.GrantDiscordQuotaData schema
data, Grant Discord Quota Data 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_mismatchto the response with the status (media type: application/json)
1 more change in this revision
- info