Overview
Identify the target by exactly one of targetUserId or targetUsername. An optional invoker identifies the in-game administrator; the API key is captured separately on the audit entry.
- Permission scope
warnings.write- Community feature
warnings- Content type
application/json
Authentication
Send Authorization: Bearer YOUR_API_KEY and X-Clan-Id: COMMUNITY_ID. The community API switch and key must be enabled. The key must have the scope shown above. See authentication and key storage.
No path or query parameters.
Request body
A JSON request body is required.
Exactly one of these field sets is required: targetUserId or targetUsername.
| Field | Type | Required | Constraints and description |
|---|---|---|---|
targetUserId | integer | Conditional | min 1, max 9007199254740991 |
targetUsername |