POST user/{userId}/report

Report a user for violating site rules. This will notify the moderation team to take a look at that user's conduct. Note: repeated reports of the same user by the same user will be silently ignored but appear successful.

Example

POST /api/v1/user/66a5db1f-2785-498d-9068-e24ddbba03f2/report HTTP/1.1
Authorization: Bearer ...
Content-Type: application/json

{
  "reason": "This user has violated the rules."
}
----------------------------------------
HTTP/1.1 204 No Content
ETag: W/"a-bAsFyilMr4Ra1hIU5PyoyFRunpI"

Security

Authentication is required, but access is granted to all users.

URL Parameters

NameDescriptionValue
userIdthe ID of the user to report as a GUID with dashesstring

Request Body

NameDescriptionValue
reasona textual description of the reason for reporting the userstring

Response

Successful responses are code 204. Error responses are standard.

Response Body

NONE