lib/GitHub/Receiver/Enterprise/Ldap.php
public function syncMappingUser(int $userId): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/admin/ldap/user/:user_id/sync', (string)$userId),
            Request::METHOD_POST);
    }
public function syncMappingUser(int $userId): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/admin/ldap/user/:user_id/sync', (string)$userId),
            Request::METHOD_POST);
    }
public function syncMappingUser ( int $ userId ) : array { return $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/admin/ldap/user/:user_id/sync' , ( string ) $ userId ) , Request :: METHOD_POST ) ; }
Sync LDAP mapping for a user

@link https://developer.github.com/v3/enterprise/ldap/#sync-ldap-mapping-for-a-user

@param int $userId

@return array
@throws Exception
Sync LDAP mapping for a user