action dev_suspend_user { label: "Suspend a User" description: "This endpoint allows the client to suspend a user.\n\nThe user associated with the API key must have any 'admin' or 'moderator' role.\n\nThis specified user will be assigned the 'suspended' role. Suspending a user will stop the\nuser from posting new posts and comments. It doesn't delete any of the user's content, just\nprevents them from creating new content while suspended. Users are not notified of their suspension\nin the UI, so if you want them to know about this, you must notify them." provider: dev method: PUT path: "/api/users/{id}/suspend" encoding: json input: { type: "object" properties: { id: { type: "integer" format: "int32" } } required: ["id"] additionalProperties: false } output: { type: "object" additionalProperties: true } }