Set user contact details
/api/users/{id}/contactSet the email address a reset link can be sent to. Refused for an account whose highest role is not below yours.
Needs the ManageUsers permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/api/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/contact" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "roles": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } ], "permissionNames": [ "string" ], "isDisabled": true, "isDeleted": true, "vrChatLinked": true, "vrChatUserId": null, "vrChatDisplayName": null, "email": null, "discordUserId": null, "discordUsername": null, "discordProven": true, "discordWorksUntil": null, "createdAt": "2019-08-24T14:15:22Z", "lastLoginAt": null, "rank": null, "rolesFromDiscord": null}Enable user POST
Re-enable a disabled account. Refused for an account whose highest role is not below yours. Needs the `ManageUsers` permission.
Create a reset link POST
Make a one-time password reset link for this account. Shown once. The server keeps only a hash, so copy it now. Good for 24 hours, and using it ends every session the account has. Refused for an account whose highest role is not below yours. Needs the `ManageUsers` permission.