Playermoderation

Moderate User

POST
/auth/user/playermoderations

Moderate a user, e.g. unmute them or show their avatar.

Please see the Player Moderation docs on what playerModerations are, and how they differ from staff moderations.

Authorization

authCookie
auth<token>

Auth Token via Cookie

In: cookie

Request Body

application/json

Response Body

application/json

application/json

curl -X POST "https://api.vrchat.cloud/api/1/auth/user/playermoderations" \  -H "Content-Type: application/json" \  -d '{    "moderated": "usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469",    "type": "unmute"  }'
{
  "created": "2019-08-24T14:15:22Z",
  "id": "pmod_25551a8d-6f5d-430a-88d3-9c0ce08b5244",
  "sourceDisplayName": "string",
  "sourceUserId": "usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469",
  "targetDisplayName": "string",
  "targetUserId": "usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469",
  "type": "unmute"
}
{
  "error": {
    "message": "\"Missing Credentials\"",
    "status_code": 401
  }
}