11 lines
293 B
PHP
11 lines
293 B
PHP
|
<?php chdir('../../../../../../') ?>
|
||
|
<?php require 'base.php' ?>
|
||
|
<?php
|
||
|
|
||
|
$id = trim($_GET['id']);
|
||
|
if (!valid_mastodon_account_id($id))
|
||
|
apiresult(['error' => 'id parameter has incorrect format'], 400);
|
||
|
|
||
|
$output = instance_http_post('/api/v1/admin/accounts/'.$id.'/reject');
|
||
|
apiresult($output);
|