I m trying to update tenants from php sdk but I got this error, I tried with converting array to object but not working…
code :
$data = 'guardian_mfa_page' => 'enabled'=>false, 'html'=>''] ];
try {
$guardianRemove = $auth0Api->tenants->update($data);
}
catch (exception $e) {
echo($e);
}
Client error:
PATCH https://mysite.com/api/v2/tenants/settings
resulted in a400 Bad Request
response: {“statusCode”:400,“error”:“Bad Request”,“message”:"Payload validation error: ‘Expected type object but found type null’.