of course I'm having issues with the API again. 😀
I tried suspending the user via REST API call, but get a 405 method not allowed. The idea was to PATCH the user attributes with an admin token, which works for username, password and email already.
$data = [
"type" => "users",
"id" => $forum_user_id,
"attributes" => [
"suspended_until" => \Carbon\Carbon::parse('2099-12-31'),
Are there certain fields that are locked against REST API patch requests?